RFR: JDK-8319123 : Implementation of JEP-461: Stream Gatherers (Preview) [v2]
Viktor Klang
vklang at openjdk.org
Wed Nov 8 21:08:09 UTC 2023
On Wed, 8 Nov 2023 17:19:56 GMT, Tagir F. Valeev <tvaleev at openjdk.org> wrote:
>> In that case the integrator should be a BiConsumer too, no ?
>
> @forax I thought so initially, but this is not so easy, as there's a `Greedy` subinterface. If you adapt the `Integrator`, you will lose the ability to specify the greediness.
I think this one is something which real-world usage needs to weigh in on.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16420#discussion_r1387197786
More information about the core-libs-dev
mailing list