asNullable

returns null if this is null, calls OptionalBoolean.asNullable otherwise.


returns null if this is null, calls OptionalInt.asNullable otherwise.


returns null if this is null, calls OptionalLong.asNullable otherwise.