- absent
Returns an Optional instance with no contained reference.
Comparison to java.util.Optional: this me
- 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
- of
Returns an Optional instance containing the given non-null reference. To have
null treated as #absen
- or
Returns this Optional if it has a value present; secondChoice otherwise.
Comparison to java.util.Op