Re:Deprecating: java.util.Optional.get()?
by redcodenl on Thursday April 28, 2016 @10:49AM
(#11589260)
Of course it does, you actively choose to throw something! That is, in some cases, perfectly acceptable. All three methods tell you there is something else in case you don't have a value in the optional. get() doesn't.
[ Parent
| on HN ]
There are no comments on this comment yet.