- absent
Returns an Optional instance with no contained reference.
Comparison to java.util.Optional: this me
- fromNullable
If nullableReference is non-null, returns an Optional instance containing that
reference; otherwise
- get
Returns the contained instance, which must be present. If the instance might be
absent, use #or(Obje
- isPresent
Returns true if this holder contains a (non-null) instance.
Comparison to java.util.Optional: no di
- or
Returns this Optional if it has a value present; secondChoice otherwise.
Comparison to java.util.Op