/** * Apply this function and returns the given default value in case of exception. * * @param defaultValue Exceptional default value. * @return A new function. */ default Function2<V1, V2, R> orElse(R defaultValue) { return orElse(() -> defaultValue); }