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:
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.
Represents a predicate (boolean-valued function) of two arguments. This is the two-arity
specialization of
ThrowablePredicate
.
Permits checked exceptions unlike BiPredicate
This is a functional interface whose functional method is
test(Object, Object)
.
- See Also:
-
Method Summary
Methods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Method Details
-
testUnsafe
Evaluates this predicate on the given arguments.- Parameters:
t
- the first input argumentu
- the second input argument- Returns:
true
if the input arguments match the predicate, otherwisefalse
- Throws:
Throwable
- occurred during processing
-
test
Evaluates this predicate on the given arguments.- Specified by:
test
in interfaceBiPredicate<T,
U> - Parameters:
t
- the first input argumentu
- the second input argument- Returns:
true
if the input arguments match the predicate, otherwisefalse
-