public static <T, U, E extends Exception> BiPredicate<T, U> sneaked(
      SneakyBiPredicate<T, U, E> biPredicate) {
    return (t, u) -> {
      @SuppressWarnings("unchecked")
      SneakyBiPredicate<T, U, RuntimeException> castedBiPredicate =
          (SneakyBiPredicate<T, U, RuntimeException>) biPredicate;
      return castedBiPredicate.test(t, u);
    };
  }
public static < T , U , E extends Exception > BiPredicate < T , U > sneaked ( SneakyBiPredicate < T , U , E > biPredicate ) { return ( t , u ) -> { @ SuppressWarnings ( "unchecked" ) SneakyBiPredicate < T , U , RuntimeException > castedBiPredicate = ( SneakyBiPredicate < T , U , RuntimeException > ) biPredicate ; return castedBiPredicate . test ( t , u ) ; } ; }
Sneaky throws a BiPredicate lambda.

@param biPredicate BiPredicate that can throw an exception
@param <T> type of first argument
@param <U> type of second argument
@return a BiPredicate as defined in java.util.function