Re: New candidate JEP: 485: Stream Gatherers

2024-09-20 Thread David Alayachew
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

Re: [External] : Re: New candidate JEP: 485: Stream Gatherers

2024-09-18 Thread Viktor Klang
heers, √ Viktor Klang Software Architect, Java Platform Group Oracle From: Olexandr Rotan Sent: Wednesday, 18 September 2024 14:12 To: David Alayachew Cc: core-libs-dev@openjdk.org ; Viktor Klang ; jdk-...@openjdk.org Subject: [External] : Re: New candidate JEP

Re: New candidate JEP: 485: Stream Gatherers

2024-09-18 Thread Olexandr Rotan
Is in-built gatherers list finalized? I was thinking that Gatherers::uniqueBy(Function) 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 wrote: > Thanks. Glad

Re: [External] : Re: New candidate JEP: 485: Stream Gatherers

2024-09-18 Thread Viktor Klang
Thanks David! Cheers, √ Viktor Klang Software Architect, Java Platform Group Oracle From: David Alayachew Sent: Monday, 2 September 2024 23:58 To: core-libs-dev@openjdk.org Cc: Viktor Klang ; jdk-...@openjdk.org Subject: [External] : Re: New candidate JEP

Re: New candidate JEP: 485: Stream Gatherers

2024-09-02 Thread David Alayachew
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 wrote: > https://openjdk.org/jeps/485 > > Summary: Enhance the Stream API to support custom intermediate > operations. This will allow s