I tried to understand the GathererOp class and came over a small detail
concering Gatherer.Integrator.
The two gatheres below are equivalent, both are greedy.
Gatherer.Integrator.Greedy voidStringIntegerGreedy = (v,
s, downStream) -> downStream.push(s.length());
var greedy1 =
Gatherer.of
On Tue, 21 Nov 2023 10:11:28 GMT, Viktor Klang wrote:
>> This Pull-Request implements [JEP-461](https://openjdk.org/jeps/461)
>
> Viktor Klang has updated the pull request incrementally with one additional
> commit since the last revision:
>
> Javadoc clarifications for Gatherer type paramete
hitect, Java Platform Group
Oracle
From: core-libs-dev on behalf of Svein Otto
Solem
Sent: Friday, 24 November 2023 20:31
To: core-libs-dev@openjdk.org
Subject: RFR: 8319123: Implement JEP 461: Stream Gatherers (Preview) [v13]
Tested the Gatherer implementation, and it is a very nice wo
Tested the Gatherer implementation, and it is a very nice work.
I have always wanted a way of writing my own stream operations and also have
incomplete composable pipelines which could be combined in different ways. Very
interesting.
The four Gatherer functions - initializer/integrator/combiner
> This Pull-Request implements [JEP-461](https://openjdk.org/jeps/461)
Viktor Klang has updated the pull request incrementally with one additional
commit since the last revision:
Javadoc clarifications for Gatherer type parameters,
correcting descriptions of Integrator type parameters,
and