Optional.None<E>, Optional.Some<E>
Modifier and Type | Field and Description |
---|---|
private static Optional.None |
none |
Modifier | Constructor and Description |
---|---|
private |
None() |
Modifier and Type | Method and Description |
---|---|
E |
get() |
boolean |
isPresent() |
(package private) static <E> Optional<E> |
none() |