Class IterationSpliterator<T>

    • Constructor Detail

      • IterationSpliterator

        public IterationSpliterator​(Iteration<T,​? extends Exception> iteration)
        Deprecated.
        Creates a Spliterator implementation that wraps the supplied Iteration. It handles occurrence of checked exceptions by wrapping them in RuntimeExceptions, and in addition ensures that the wrapped Iteration is closed when exhausted (if it's a CloseableIteration).
        Parameters:
        iteration - the iteration to wrap
    • Method Detail

      • tryAdvance

        public boolean tryAdvance​(Consumer<? super T> action)
        Deprecated.
      • forEachRemaining

        public void forEachRemaining​(Consumer<? super T> action)
        Deprecated.