flatMap signature (original) (raw)

Boaz Nahum boaznahum at gmail.com
Tue Apr 2 07:05:21 PDT 2013


.

I also think that all Supplier should be Supplier<? extends T>. But why ?

If S extends R:

Supplier ss = ..

S s = stream.collect(ss,..,..)

So also:

R r = stream.collect(ss,)

?

Thanks Boaz



More information about the lambda-dev mailing list