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.reinh...@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