RFR : JDK-8001642 : Add Optional<T>, OptionalDouble, OptionalInt, OptionalLong

Joe Bowbeer joe.bowbeer at gmail.com
Mon Mar 4 14:44:59 PST 2013


Last I read, the Optional hashCode and equals methods would support only
the identity hashCode()/equals(), but they appear to be delegating to the
value's methods, if present.

Why the change?  Just wondering.


On Mon, Mar 4, 2013 at 12:29 PM, Mike Duigou <mike.duigou at oracle.com> wrote:

> Optional<T>, OptionalDouble, OptionalInt and OptionalLong are now posted
> for review on core-libs and lambda-dev.
>
> Any comments can be sent to core-libs-dev or this list.
>
> http://cr.openjdk.java.net/~mduigou/JDK-8001642/0/webrev/
>
> Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/lambda-libs-spec-experts/attachments/20130304/07004329/attachment.html 


More information about the lambda-libs-spec-experts mailing list