RFR: JDK-8319123 : Implementation of JEP-461: Stream Gatherers (Preview) [v3]
Viktor Klang
vklang at openjdk.org
Fri Nov 10 22:10:12 UTC 2023
On Fri, 10 Nov 2023 17:21:23 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> Viktor Klang has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - Multiple improvements to Gatherer and Gatherers javadoc and restructuring of Gatherers.java to put public at the top of the file.
>> - Augmenting Gatherer tests to include default implementation in Stream
>
> src/java.base/share/classes/java/util/stream/Gatherer.java line 138:
>
>> 136: * );
>> 137: * }
>> 138: * }
>
> I would have appreciated a usage example here - with a stream of input elements and what such a gatherer would produce as output.
Wilco!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16420#discussion_r1389966709
More information about the core-libs-dev
mailing list