Skip to content

Glossary: Java Beyond the Basics

Stream

Also written: streams, intermediate operation, terminal operation, IntStream, filter, map

A pipeline made of a source, zero or more intermediate operations (filter, map, sorted) and one terminal operation (sum, toList), which runs lazily and can be used only once.

Where the book teaches it

Related terms

LazyCollectorOptional