Interface UnfailingIterator<T extends Item<?>>

    • Method Detail

      • next

        T next()
        Get the next item in the sequence.
        Specified by:
        next in interface SequenceIterator<T extends Item<?>>
        Returns:
        the next Item. If there are no more items, return null.
      • forEach

        default void forEach​(java.util.function.Consumer<T> consumer)
      • firstWith

        default java.util.Optional<T> firstWith​(java.util.function.Predicate<? super T> condition)
      • toList

        default java.util.List<T> toList()