RFR : JDK-8001642 : Add Optional, OptionalDouble, OptionalInt, OptionalLong (original) (raw)
Kevin Bourrillion kevinb at google.com
Thu Mar 28 18:23:45 UTC 2013
- Previous message: RFR : JDK-8001642 : Add Optional, OptionalDouble, OptionalInt, OptionalLong
- Next message: hg: jdk8/tl/jdk: 8009267: Restore isAnnotationPresent methods in public AnnotatedElement implementations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I do NOT wish to restart this discussion; I just noticed a falsehood that was never exposed:
On Wed, Mar 6, 2013 at 1:47 AM, Remi Forax <forax at univ-mlv.fr> wrote:
Google's Guava, which is a popular library, defines a class named Optional,
but allow to store null unlike the current proposed implementation, this will generate a lot of confusions and frustrations.
Guava's Optional cannot be used to hold null. So this particular concern is not a concern at all.
-- Kevin Bourrillion | Java Librarian | Google, Inc. | kevinb at google.com
- Previous message: RFR : JDK-8001642 : Add Optional, OptionalDouble, OptionalInt, OptionalLong
- Next message: hg: jdk8/tl/jdk: 8009267: Restore isAnnotationPresent methods in public AnnotatedElement implementations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]