code: public static <T1, T2> BiPredicate<T1, T2> ignore2nd(Predicate<T1> predicate, Class<T2> ignored) {
          dbc.precondition(predicate != null, "cannot ignore parameter of a null predicate");
          return (first, second) -> predicate.test(first);
      }
docs: Adapts a predicate to a binary predicate by ignoring second parameter.
  
  @param <T1> the adapted predicate first parameter type
  @param <T2> the adapted predicate second parameter type
  @param predicate the predicate to be adapted
  @param ignored the adapted predicate ignored parameter type class
  @return the adapted binary predicate