If the argument passed to Optional. ofNullable() is non-null, then it returns an Optional containing the specified value, otherwise it returns an empty Optional.
If the argument passed to Optional. ofNullable() is non-null, then it returns an Optional containing the specified value, otherwise it returns an empty Optional.