code: public static <T1, T2> BiFunction<T1, T2, Boolean> function(BiPredicate<T1, T2> adaptee) {
          dbc.precondition(adaptee != null, "cannot adapt a null predicate");
          return adaptee::test;
      }
docs: Adapts a binary predicate to a binary function.
  
  @param <T1> the predicate first parameter type
  @param <T2> the predicate second parameter type
  @param adaptee the predicate to be adapted
  @return the adapted function