Common superclass for Optional<T> and primitive variants?

Paul Benedict pbenedict at
Tue Mar 5 06:52:21 PST 2013

I'd still like to hear feedback on a common superclass. That was the main
proposal. Right now, there's no way to return a mixed stream of optional
objects and optional primitives. I believe the mixture -- the so-called
heterogeneous collection -- is not a use case that should be excluded.


More information about the lambda-dev mailing list