RFR 8050819: Please add java.util.Stream.ofNullable(T object)

Paul Sandoz paul.sandoz at oracle.com
Tue Jan 20 19:05:34 UTC 2015


Hi,

http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8050819-Stream-ofNullable/webrev/

Stream.ofNullable can make it easier to work fluently when streams are produced, for example within flatMap.

A CCC will be filed.

Thanks,
Paul.



More information about the core-libs-dev mailing list