Interface ThrowableBiPredicate<T,U>
-
- Type Parameters:
T- the type of the first argument to the predicateU- the type of the second argument the predicate
- All Superinterfaces:
java.util.function.BiPredicate<T,U>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ThrowableBiPredicate<T,U> extends java.util.function.BiPredicate<T,U>Represents a predicate (boolean-valued function) of two arguments. This is the two-arity specialization ofThrowablePredicate.Permits checked exceptions unlike
BiPredicateThis is a functional interface whose functional method is
test(Object, Object).- See Also:
ThrowablePredicate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleantest(T t, U u)Evaluates this predicate on the given arguments.booleantestUnsafe(T t, U u)Evaluates this predicate on the given arguments.
-
-
-
Method Detail
-
testUnsafe
boolean testUnsafe(T t, U u) throws java.lang.Throwable
Evaluates this predicate on the given arguments.- Parameters:
t- the first input argumentu- the second input argument- Returns:
trueif the input arguments match the predicate, otherwisefalse- Throws:
java.lang.Throwable- occurred during processing
-
-