New candidate JEP: 461: Stream Gatherers (Preview)
David Alayachew
davidalayachew at gmail.com
Thu Oct 26 22:54:51 UTC 2023
Hello Mark,
Thank you for posting this!
This feature will be a blessing, and I can't wait for it to drop.
Could we add more/better documentation for Gatherers::scan? An example
would be nice, and it would also be helpful to highlight the differences
between Gatherers::scan and Gatherers::fold.
Thank you for your time and help!
David Alayachew
On Thu, Oct 26, 2023 at 4:26 PM Mark Reinhold <mark.reinhold at oracle.com>
wrote:
> https://openjdk.org/jeps/461
>
> Summary: 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.
>
> - Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20231026/427c19b7/attachment.htm>
More information about the jdk-dev
mailing list