the type of the value
Private
constructorPrivate
Readonly
valuePerforms the given action with the value, otherwise performs the given empty-based action.
the action to be performed if value is present
the empty-based action to be performed if value is absent
NullPointerException if value is present and the given action is null, or value is absent and the given empty-based action is null
Static
emptyStatic
ofStatic
ofGenerated using TypeDoc
A container object which may or may not contain a non-null value.