Streams
A pipeline over a source, what runs lazily, and what comes out of the end.
A stream is not a collection and is not a loop, and most stream bugs come from treating it as one or the other. The important card is laziness — nothing runs until something asks for a result, which is why a pipeline with no terminal operation does nothing at all. Parallel streams get one card and a warning.
Contents
10 cardsnot started