hg: jdk8/tl/jdk: 8001642: Add Optional<T>, OptionalDouble, OptionalInt, OptionalLong

mike.duigou at oracle.com mike.duigou at oracle.com
Tue Mar 19 16:10:09 PDT 2013


Changeset: 2241a2d34085
Author:    mduigou
Date:      2013-03-19 16:05 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/2241a2d34085

8001642: Add Optional<T>, OptionalDouble, OptionalInt, OptionalLong
Reviewed-by: mduigou, darcy, alanb, jjb
Contributed-by: Brian Goetz <brian.goetz at oracle.com>

+ src/share/classes/java/util/Optional.java
+ src/share/classes/java/util/OptionalDouble.java
+ src/share/classes/java/util/OptionalInt.java
+ src/share/classes/java/util/OptionalLong.java
+ test/java/util/Optional/Basic.java
+ test/java/util/Optional/BasicDouble.java
+ test/java/util/Optional/BasicInt.java
+ test/java/util/Optional/BasicLong.java




More information about the compiler-dev mailing list