New candidate JEP: 485: Stream Gatherers
Olexandr Rotan
rotanolexandr842 at gmail.com
Wed Sep 18 12:12:01 UTC 2024
Is in-built gatherers list finalized? I was thinking that
Gatherers::uniqueBy(Function<OUT, DISCRIMINATOR>) could be very popular
among stream users, although it is fairly easy to implement yourself (as
well as bunch of currently in-built ones though)
On Tue, Sep 3, 2024, 00:59 David Alayachew <davidalayachew at gmail.com> wrote:
> Thanks. Glad to see this finally land. That slidingWindow and other
> related functions are extremely powerful.
>
> On Mon, Sep 2, 2024 at 3:13 PM Mark Reinhold <mark.reinhold at oracle.com>
> wrote:
>
>> https://openjdk.org/jeps/485
>>
>> 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.
>>
>> - Mark
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20240918/f7e80866/attachment.htm>
More information about the jdk-dev
mailing list