til/stream/ops/ref>
JDK main-line development https://openjdk.org/projects/jdk - openjdk/jdk
github.com
Cheers,
√
Viktor Klang
Software Architect, Java Platform Group
Oracle
From: Cay Horstmann
Sent: Tuesday, 15 October 2024 20:19
To: Viktor Klang ; core-li
Thanks Viktor, I like your concept of multiple vantage points a lot.
Implementor: "use ofGreedy to signal that this operation does not itself initiate
short-circuiting"
Reviewer: "when you see ofGreedy verify that this operation does not itself initiate
short-circuiting"
Debugger: "when the ex
Hi Viktor, thanks again for sharing your design decisions. I agree this is a
minor matter because not many programmers will implement gatherers. Let me try
to explain my confusion.
On 15/10/2024 13:46, Viktor Klang wrote:
Making of() the short-name is because it is more capable than ofGreedy(
have the scars to prove it. 🙂
>3. Here we have two different mechanisms for what streams and collectors
>address with a simple and unified approach: flags.
I guess it bears repeating: Please see the discussion around why
Characteristics didn't make it. 🙂
>I don't stron
atherers will by far outnumber
definition of Gatherers, so appropriate emphasis needs to be placed on usage
ergonomics, capabilities, and runtime performance.
Cheers,
√
Viktor Klang
Software Architect, Java Platform Group
Oracle
____
From: core-libs-dev on behalf
re Architect, Java Platform Group
Oracle
________________
From: jdk-dev on behalf of Cay Horstmann
Sent: Friday, 4 October 2024 19:58
To: jdk-dev at openjdk.org
Subject: Re: New candidate JEP: 485: Stream Gatherers
Hi, I have some belated questions about the des
acle
From: jdk-dev on behalf of Cay Horstmann
Sent: Friday, 4 October 2024 19:58
To: jdk-...@openjdk.org
Subject: Re: New candidate JEP: 485: Stream Gatherers
Hi, I have some belated questions about the design choices in this API that I
could not find addres
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
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
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
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
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
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
13 matches
Mail list logo