----- Mail original -----
> De: "Florian Weimer" <f...@deneb.enyo.de>
> À: "Remi Forax" <fo...@univ-mlv.fr>
> Cc: "Patrick Concannon" <patrick.concan...@oracle.com>, "Julia Boes" 
> <julia.b...@oracle.com>, "Anthony Vanelverdinghe"
> <d...@anthonyv.be>, "core-libs-dev" <core-libs-dev@openjdk.java.net>
> 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

Reply via email to