public static < T > OptionalValue < T > ofNullable ( T value ) { return new GenericOptionalValue < T > ( RUNTIME_SOURCE , DEFAULT_KEY , value ) ; }
Returns new instance of OptionalValue with given value