----- Mail original -----
> De: "Florian Weimer" <[email protected]>
> À: "Remi Forax" <[email protected]>
> Cc: "Patrick Concannon" <[email protected]>, "Julia Boes"
> <[email protected]>, "Anthony Vanelverdinghe"
> <[email protected]>, "core-libs-dev" <[email protected]>
> Envoyé: Jeudi 13 Août 2020 11:58:38
> Objet: Re: RFR[8238286]: 'Add new flatMap stream operation that is more
> amenable to pushing’
> * Remi Forax:
>
>> I still don't like the fact that IntMapMultiConsumer,
>> DoubleMapMultiConsumer and LongMapMultiConsumer are not in
>> java.util.function unlike all other functional interfaces used by
>> the Stream API.
>
> They seem rather too specific for java.util.function to me. Maybe we
> should add BiIntObjectConsumer etc., a BiConsumer whose first argument
> is fixed as an int? And the second consumer would be injected as a
> type parameter, specific to the use in IntStream?
yes, you right, the interafce should be changed as you said.
Rémi