@FunctionalInterface
public interface ExceptionBiPredicate<T,U,E extends java.lang.Exception>
Modifier and Type | Method and 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) |
boolean test(T t, U u) throws E extends java.lang.Exception
t
- the first argumentu
- the second argumenttrue
if the predicate passes, false
otherwiseE
- if an exception occursE extends java.lang.Exception
default ExceptionBiPredicate<T,U,E> and(ExceptionBiPredicate<T,U,E> other)
default ExceptionBiPredicate<T,U,E> or(ExceptionBiPredicate<T,U,E> other)
default ExceptionBiPredicate<T,U,E> xor(ExceptionBiPredicate<T,U,E> other)
default ExceptionBiPredicate<T,U,E> not()
Copyright © 2015 JBoss, a division of Red Hat, Inc.