Package org.wildfly.common.function
Interface ExceptionBiPredicate<T,U,E extends java.lang.Exception>
-
- 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 ExceptionBiPredicate<T,U,E extends java.lang.Exception>
A two-argument predicate which can throw an exception.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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)
boolean
test(T t, U u)
Evaluate this predicate on the given arguments.default ExceptionBiPredicate<T,U,E>
xor(ExceptionBiPredicate<T,U,E> other)
-
-
-
Method Detail
-
test
boolean test(T t, U u) throws E extends java.lang.Exception
Evaluate this predicate on the given arguments.
-
and
default ExceptionBiPredicate<T,U,E> and(ExceptionBiPredicate<T,U,E> other)
-
or
default ExceptionBiPredicate<T,U,E> or(ExceptionBiPredicate<T,U,E> other)
-
xor
default ExceptionBiPredicate<T,U,E> xor(ExceptionBiPredicate<T,U,E> other)
-
not
default ExceptionBiPredicate<T,U,E> not()
-
-