public abstract class DelegatingOptional<T> extends java.lang.Object implements Optional<T>
| Constructor and Description |
|---|
DelegatingOptional(Optional<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPresent()
Returns whether the optional value is present.
|
T |
value()
Returns the optional value.
|
public final boolean isPresent()
Optional