T - the type of the first argument to the predicateU - the type of the second argument the predicateX - the type of the exception that might be thrown@FunctionalInterface public interface ThrowingBiPredicate<T,U,X extends Exception>
Predicate.| Modifier and Type | Method and Description |
|---|---|
default ThrowingBiPredicate<T,U,X> |
and(ThrowingBiPredicate<? super T,? super U,? extends X> other)
Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.
|
default ThrowingPredicate<U,X> |
curryFirst(T t)
Create a
ThrowingPredicate by currying the first parameter |
default ThrowingPredicate<T,X> |
currySecond(U u)
Create a
ThrowingPredicate by currying the second parameter |
default ThrowingBiPredicate<T,U,X> |
negate()
Returns a predicate that represents the logical negation of this predicate.
|
default ThrowingBiPredicate<T,U,X> |
or(ThrowingBiPredicate<? super T,? super U,? extends X> other)
Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.
|
boolean |
test(T t,
U u)
Evaluates this predicate on the given arguments.
|
boolean test(T t, U u) throws X extends Exception
default ThrowingBiPredicate<T,U,X> and(ThrowingBiPredicate<? super T,? super U,? extends X> other)
false, then the other predicate is not
evaluated.
Any exceptions thrown during evaluation of either predicate are relayed to the caller; if evaluation of this
predicate throws an exception, the other predicate will not be evaluated.
other - a predicate that will be logically-ANDed with this predicateother predicateNullPointerException - if other is nulldefault ThrowingBiPredicate<T,U,X> negate()
default ThrowingBiPredicate<T,U,X> or(ThrowingBiPredicate<? super T,? super U,? extends X> other)
true, then the other predicate is not
evaluated.
Any exceptions thrown during evaluation of either predicate are relayed to the caller; if evaluation of this
predicate throws an exception, the other predicate will not be evaluated.
other - a predicate that will be logically-ORed with this predicateother predicateNullPointerException - if other is nulldefault ThrowingPredicate<U,X> curryFirst(T t)
ThrowingPredicate by currying the first parametert - the constant parameterdefault ThrowingPredicate<T,X> currySecond(U u)
ThrowingPredicate by currying the second parameteru - the constant parameterCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.