Optional
A box that holds one value or is empty, returned when a result may be missing.
java.util.Optional
Examples
findEmail(user).orElse("(none)")
See also
A box that holds one value or is empty, returned when a result may be missing.
java.util.Optional
Examples
findEmail(user).orElse("(none)")
See also