flatMap signature

Boaz Nahum boaznahum at gmail.com
Sun Mar 31 08:10:19 PDT 2013


I have some problems when compiling with flatMap,

*Maybe* the signature should be:

<R> Stream<R> flatMap(Function<? super T, Stream<? extends R>> mapper);

Instead of:

<R> Stream<R> flatMap(Function<T, Stream<? extends R>> mapper);


More information about the lambda-dev mailing list