Module com.machinezoo.noexception
Interface ThrowingBiPredicate<T,U>
-
- Type Parameters:
-
T
- seeBiPredicate
-
U
- seeBiPredicate
- 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 ThrowingBiPredicate<T,U>
Variation ofBiPredicate
that allows throwing checked exceptions.ThrowingBiPredicate
is usually implemented by a lambda and passed toCheckedExceptionHandler.fromBiPredicate(ThrowingBiPredicate)
. See noexception tutorial.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
test(T t, U u)
Variation ofBiPredicate.test(Object, Object)
that allows throwing checked exceptions.
-
-
-
Method Detail
-
test
boolean test(T t, U u) throws Throwable
Variation ofBiPredicate.test(Object, Object)
that allows throwing checked exceptions.- Parameters:
-
t
- seeBiPredicate.test(Object, Object)
-
u
- seeBiPredicate.test(Object, Object)
- Returns:
-
see
BiPredicate.test(Object, Object)
- Throws:
-
Throwable
- if unable to complete - See Also:
-
CheckedExceptionHandler.fromBiPredicate(ThrowingBiPredicate)
,BiPredicate.test(Object, Object)
-
-