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