2 ms·
> Optional<T> can be null, Empty, or have a value, whereas T can be null or have a value Thanks for the explanation. Wow, this sounds like a a bit of a mess, o
by dheera 4y ago
> Optional<T> can be null, Empty, or have a value, whereas T can be null or have a value
Thanks for the explanation. Wow, this sounds like a a bit of a mess, one because of the allocation, and also because it seems there are multiple ways something can be semantically null.