Join Slack
Powered by
It's not when null is a valid value, he's looking ...
# announcements
k
kevinmost
09/13/2016, 6:35 PM
It's not when null is a valid value, he's looking to do only do something if
Optional#isPresent()
returns true. In Java:
Copy code
if (optional.isPresent()) { optional.get().//other stuff here }
4
Views
Open in Slack
Previous
Next