Where has the map method on Optional moved?

Paul Sandoz paul.sandoz at oracle.com
Mon Feb 25 05:12:59 PST 2013

Hi Dhananjay,

It is not missing it was removed.

java.util.Optional has a narrower scope that optional things in other languages. We are not trying to shoe-horn in an option monad.


On Feb 23, 2013, at 12:27 AM, Dhananjay Nene <dhananjay.nene at gmail.com> wrote:

> It seemed to be there on the Optional class in b61 but is missing now. Is
> there some way to run map/flatMap operations on an Optional?
> Thanks
> Dhananjay

More information about the lambda-dev mailing list