Package org.wildfly.common.function
Interface ExceptionBiPredicate<T,U,E extends Exception>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A two-argument predicate which can throw an exception.
- Author:
- David M. Lloyd
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExceptionBiPredicate<T,U, E> and(ExceptionBiPredicate<T, U, E> other) default ExceptionBiPredicate<T,U, E> not()default ExceptionBiPredicate<T,U, E> or(ExceptionBiPredicate<T, U, E> other) booleanEvaluate this predicate on the given arguments.default ExceptionBiPredicate<T,U, E> xor(ExceptionBiPredicate<T, U, E> other)
-
Method Details
-
test
Evaluate this predicate on the given arguments.- Parameters:
t- the first argumentu- the second argument- Returns:
trueif the predicate passes,falseotherwise- Throws:
E- if an exception occurs
-
and
-
or
-
xor
-
not
-