Default Methods


Idioms and Techniques

Design Rationale

Advanced Questions

What is a stream?

A stream is a sequence of values. The package defines types for streams of reference values (Stream) and some primitives (IntStream, LongStream, and DoubleStream). Streams are like iterators in that they yield their elements as required for processing, but unlike them in that they are not associated with any particular storage mechanism. A stream […]