interface Optional<E>
Modifier and Type | Interface and Description |
---|---|
static class |
Optional.None<E> |
static class |
Optional.Some<E> |
Modifier and Type | Method and Description |
---|---|
E |
get() |
boolean |
isPresent() |
E get()
boolean isPresent()