Pseudo immutable optional with a value or not.
Constructor for pseudo immutable optional.
Convenience subtyping.
Return a const version of this optional.
Check whether optional is null or not.
Get the payload if exists or provide an alternative.
Get the payload hosted in this optional.
An optional filled or not with value.
See Implementation
Pseudo immutable optional with a value or not.