Class PresentValues<T>

  • All Implemented Interfaces:
    java.lang.Iterable<T>

    public final class PresentValues<T>
    extends DelegatingIterable<T>
    Iterable which iterates over the present values in the input Iterable of Optionals.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • PresentValues

        @SafeVarargs
        public PresentValues​(Optional<? extends T>... optionals)
      • PresentValues

        public PresentValues​(java.lang.Iterable<? extends Optional<? extends T>> optionals)