Class StreamGatherersExamples
java.lang.Object
net.jrodolfo.java_evolution.java24.StreamGatherersExamples
Demonstrates Stream Gatherers, finalized in Java 24.
Before gatherers, custom intermediate stream operations were difficult to express. Developers often had to leave the stream pipeline or force the problem into a terminal collector. Gatherers let streams model operations such as fixed windows and running scans as part of the pipeline.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StreamGatherersExamples
public StreamGatherersExamples()
-
-
Method Details
-
fixedWindows
-
runningSum
-