Optional relationship to Sized, Stream and other

Michael Nascimento misterm at gmail.com
Thu Nov 15 17:38:31 PST 2012

Hi folks,

After finally taking a look at the latest Javadoc and thinking about
it, I really think Optional could be better integrated with the
Collections framework and Lambda libs if it:

- Implemented Sized;
- Had a stream() method, allowing map to be called on the final result
only, for instance;
- Had a toSet() method


More information about the lambda-dev mailing list