Optional<R> call(final Optional<A> a, final Optional<B> b) { return a is Present<A> // @formatter:off ? of(mapper(a.value, b)) : empty(); //@formatter:on }