private static <T1, T2, R> Optional<R> mapAll(Tuple2<Optional<T1>, Optional<T2>> tuple, Function2<T1, T2, R> function) {
        return tuple.v1.flatMap(v1 -> tuple.v2.map(v2 -> function.apply(v1, v2)));
    }
Get a {@link Collector} that calculates the common suffix of a set of strings.
jOOL/src/main/java/org/jooq/lambda/Agg.java