RFR: JDK-8319123 : Implementation of JEP-461: Stream Gatherers (Preview) [v2]

Viktor Klang vklang at openjdk.org
Thu Nov 9 21:18:16 UTC 2023


On Thu, 9 Nov 2023 12:37:30 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> Which parameters? The type parameters or the method parameters?
>
> Here is an example:
> 
> 
>     static<T, A, R> Collector<T, A, R> of(Supplier<A> supplier,
>                                           BiConsumer<A, T> accumulator,
>                                           BinaryOperator<A> combiner,
>                                           Function<A, R> finisher,
>                                           Characteristics... characteristics) {

I'd love to, but if I want to keep horizontal space manageable I'll have to break somewhere..

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16420#discussion_r1388588129


More information about the core-libs-dev mailing list