Hi Olexandr,

The initial set of Gatherers is not currently planned to change. With that 
said, that doesn't mean that that set is fixed forever, rather we want to see 
what people end up having to re-implement and see which ones of those would 
make sense to incorporate down the line.

Cheers,
√


Viktor Klang
Software Architect, Java Platform Group
Oracle
________________________________
From: Olexandr Rotan <[email protected]>
Sent: Wednesday, 18 September 2024 14:12
To: David Alayachew <[email protected]>
Cc: [email protected] <[email protected]>; Viktor Klang 
<[email protected]>; [email protected] <[email protected]>
Subject: [External] : Re: New candidate JEP: 485: Stream Gatherers


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 
<[email protected]<mailto:[email protected]>> 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 
<[email protected]<mailto:[email protected]>> 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

Reply via email to