On Jul 5, 2013, at 11:37 PM, Henry Jen <henry....@oracle.com> wrote:
> Hi, > > Please review the webrev at > > http://cr.openjdk.java.net/~henryjen/ccc/8015317.0/webrev/ > Looks OK to me. Paul. > Which adds following method to Optional, > > public static <T> Optional<T> ofNullable(T value) {} > public Optional<T> filter(Predicate<? super T> predicate) {} > public<U> Optional<U> map(Function<? super T, ? extends U> mapper) {} > public<U> Optional<U> flatMap(Function<? super T, ? extends Optional<U>> > mapper) {} > > Also included is some cleanup on javadoc. > > Cheers, > Henry >