On Fri, 10 Nov 2023 17:21:23 GMT, Daniel Fuchs <dfu...@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