[Solved] Java 8 Optional get


Use .orElse(null) if you want null. The idea of Optional is to force you to explicitly handle the absence of the value.

0

solved Java 8 Optional get