Gathering the Streams
Posted on June 29, 2023
Java 8 introduced the java.util.stream API, which represents a lazily computed, potentially unbounded sequence of values (Streams was also the first designed-for-lambdas API in the JDK). Streams supports the ability to process the stream either sequentially or in parallel. In this document, we explore a corresponding extensible intermediate operation, called Stream::gather, which is able to address many of the requests we’ve gotten for additional operations …'
More at https://cr.openjdk.org/~vklang/Gatherers.html