stream pipeline
A source, zero or more intermediate operations, and one terminal operation.
A chain consisting of a stream source (collection.stream(), Stream.of, Arrays.stream, IntStream.range), intermediate operations that each return a new stream, and exactly one terminal operation that produces the result.