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 <rotanolexandr...@gmail.com>
Sent: Wednesday, 18 September 2024 14:12
To: David Alayachew <davidalayac...@gmail.com>
Cc: core-libs-dev@openjdk.org <core-libs-dev@openjdk.org>; Viktor Klang 
<viktor.kl...@oracle.com>; jdk-...@openjdk.org <jdk-...@openjdk.org>
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 
<davidalayac...@gmail.com<mailto:davidalayac...@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.reinh...@oracle.com<mailto:mark.reinh...@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

Reply via email to