Variation of DoubleStream.flatMap ?

Remi Forax forax at
Sun Sep 22 14:53:58 PDT 2013

On 09/22/2013 11:46 PM, Brian Goetz wrote:
> So, it seemed the Object -> int versions were going to be far more common than the int -> Object versions (can you think of a lot of examples?) and, if you need, you can always go intStream.boxed().flatMap().

I need double -> stream of int, exactly, I need this lambda
   value -> IntStream.of((int)value, ((int)(value*10))%10)


> On Sep 22, 2013, at 12:43 PM, Remi Forax wrote:
>> I wonder why there is only one variation of flatMap on DoubleStream (and other primitive stream).
>> Rémi

More information about the lambda-libs-spec-observers mailing list