Optional

suggest change

Optional

Map

Return default value if Optional is empty

Throw an exception if there is no value

Lazily provide a default value using a Supplier

Filter

Using Optional containers for primitive number types

Run code only if there is a value present

FlatMap

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents