Community

A Quick Trick to Make a Java Stream Construction Lazy

(lukaseder) One of the Stream APIs greatest features is its laziness. The whole pipeline is constructed lazily, stored as a set of instructions, akin to a SQL execution plan.