The case of Optional holding exactly one, non-null value.
null
Whether this Optional holds no value, i.e. whether it is None. Always !isPresent.
!isPresent
Whether this Optional holds a value, i.e. whether it is a Some.
The contained value, or null if this is None.
Returns this instance if value satisfies predicate, or None otherwise.
Applies function to value, returning a Some holding the result.
Returns a single-element Sequence containing value.