Class IterationSpliterator<T>

    • Constructor Detail

      • IterationSpliterator

        public IterationSpliterator​(CloseableIteration<T> iteration)
        Deprecated.
        Creates a Spliterator implementation that wraps the supplied CloseableIteration. 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.