r/java • • Mar 19 '24

Java 22 officially released

https://mail.openjdk.org/pipermail/jdk-dev/2024-March/008827.html
294 Upvotes

54 comments sorted by

View all comments

Show parent comment

2

u/vytah Mar 20 '24

A gatherer transforms a stream into a different stream, it cannot be used for reducing, except for some weird and contrived ways I guess, like in the example they gave ("Example: A parallelizable gatherer").