Class ForwardingIterator<T>

    • Constructor Detail

      • ForwardingIterator

        public ForwardingIterator​(@NotNull
                                  @NotNull Supplier<Iterator<T>> iterator,
                                  @NotNull
                                  @NotNull Supplier<Spliterator<T>> spliterator)
        Creates a new forwarding iterable.
        Parameters:
        iterator - the iterator supplier
        spliterator - the spliterator supplier
        Since:
        4.9.0