New candidate JEP: 461: Stream Gatherers (Preview)


Enhance the Stream API to support custom intermediate operations. This will allow stream pipelines to transform data in ways that are not easily achievable with the existing built-in intermediate operations. This is a preview API.

More at https://openjdk.org/jeps/461