- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
BiPredicate that allows for checked exceptions.- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,U> BiPredicate<T, U> sneaky(CheckedBiPredicate<T, U> predicate) booleanEvaluates this predicate on the given arguments.static <T,U> BiPredicate<T, U> unchecked(CheckedBiPredicate<T, U> predicate) static <T,U> BiPredicate<T, U> unchecked(CheckedBiPredicate<T, U> predicate, Consumer<Throwable> handler)
-
Method Details
-
test
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:
Throwable
-
sneaky
-
unchecked
-
unchecked
static <T,U> BiPredicate<T,U> unchecked(CheckedBiPredicate<T, U> predicate, Consumer<Throwable> handler)
-