T1 - The type of the first argument to the predicateT2 - The type of the second argument to the predicateT3 - The type of the third argument to the predicate@FunctionalInterface
public interface Predicate3<T1,T2,T3>
Predicate.
This is a functional interface whose functional method is
test(Object, Object, Object).
Predicate| Modifier and Type | Method and Description |
|---|---|
default Predicate3<T1,T2,T3> |
and(Predicate3<? super T1,? super T2,? super T3> other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
default Function3<T1,T2,T3,java.lang.Boolean> |
boxed()
Returns a
Function3 with the result boxed to a Boolean. |
default Predicate3<T1,T2,T3> |
negate()
Returns a predicate that represents the logical negation of this
predicate.
|
default Predicate3<T1,T2,T3> |
or(Predicate3<? super T1,? super T2,? super T3> other)
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
boolean |
test(T1 t1,
T2 t2,
T3 t3)
Evaluates this predicate on the given arguments.
|
boolean test(T1 t1, T2 t2, T3 t3)
t1 - The first input argumentt2 - The second input argumentt3 - The third input argumenttrue if the input arguments matches the predicate,
otherwise falsedefault Predicate3<T1,T2,T3> and(Predicate3<? super T1,? super T2,? super T3> 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 predicatejava.lang.NullPointerException - If other is nulldefault Predicate3<T1,T2,T3> negate()
default Predicate3<T1,T2,T3> or(Predicate3<? super T1,? super T2,? super T3> 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 predicatejava.lang.NullPointerException - If other is null