public T orElse(T other) {
        return value != null ? value : other;
    }
Return the value if present, otherwise return {@code other}.

@param other the value to be returned if there is no value present, may
             be null
@return the value, if present, otherwise {@code other}
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/Optional.java