New candidate JEP: 485: Stream Gatherers
David Alayachew
davidalayachew at gmail.com
Sat Sep 21 04:18:59 UTC 2024
Nope. Just bring up your experiences with the feature, and if it's valuable
enough, they will add it.
One good example is Stream::multiMap. Stream came out in Java 8, but that
feature came out in Java 16. So, the best thing to focus on is just
reporting your experiences as they occur.
On Wed, Sep 18, 2024, 8:12 AM Olexandr Rotan <rotanolexandr842 at gmail.com>
wrote:
> 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/core-libs-dev/attachments/20240921/8d429ab4/attachment.htm>
More information about the core-libs-dev
mailing list