Class ConcatSpliterator<T,​C extends Collection<Stream<T>>>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    Spliterator<T>

    public class ConcatSpliterator<T,​C extends Collection<Stream<T>>>
    extends Object
    implements Spliterator<T>
    Avoids StackOverflowError when concatenating long chains of multiple streams
    Author:
    Valentino Pinna