title: Is there a Java 8 .or() which returns Optional of present value or default provided?
body: <p>Suppose I want to provide default value if input value is null, but want to still process <code>Optional</code> type, not target type, like this:</p>
  
  <p><code>Optional.of(testedValue == null ? testedValue : "" ).map(String::trim)...</code></p>
  
  <p>Note that I can't use <code>.or</code> because it not returns optional</p>