The existing methods orElse(defaultValue) and orElseGet(supplier) and orElseThrow(exception) should be enough to cover everything get() does.
But the Java community should move towards ifPresent/map/filter/flatMap etc.
But the Java community should move towards ifPresent/map/filter/flatMap etc.
No comments yet.