Type Parameters:
T - the type of the stream elements
S - the type of the stream implementing BaseStream
All Superinterfaces:
AutoCloseable
All Known Subinterfaces:
DoubleStream, IntStream, LongStream, Stream<T>

  • Method Summary

    void

    close()

    Closes this stream, causing all close handlers for this stream pipeline to be called.

    boolean

    Returns whether this stream, if a terminal operation were to be executed, would execute in parallel.

    iterator()

    Returns an iterator for the elements of this stream.

    Returns an equivalent stream with an additional close handler.

    parallel()

    Returns an equivalent stream that is parallel.

    Returns an equivalent stream that is sequential.

    Returns a spliterator for the elements of this stream.

    unordered()

    Returns an equivalent stream that is unordered.

  • Method Details

    • iterator

    • spliterator

    • isParallel

    • sequential

    • parallel

    • unordered

    • onClose

    • close