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 predicateT4 - The type of the fourth argument to the predicateT5 - The type of the fifth argument to the predicate@FunctionalInterface
public interface Predicate5<T1,T2,T3,T4,T5>
Predicate.
This is a functional interface whose functional method is
test(Object, Object, Object, Object, Object).
Predicate| Modifier and Type | Method and Description |
|---|---|
default Predicate5<T1,T2,T3,T4,T5> |
and(Predicate5<? super T1,? super T2,? super T3,? super T4,? super T5> other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
default Function5<T1,T2,T3,T4,T5,java.lang.Boolean> |
boxed()
Returns a
Function5 with the result boxed to a Boolean. |
default Predicate5<T1,T2,T3,T4,T5> |
negate()
Returns a predicate that represents the logical negation of this
predicate.
|
default Predicate5<T1,T2,T3,T4,T5> |
or(Predicate5<? super T1,? super T2,? super T3,? super T4,? super T5> 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,
T4 t4,
T5 t5)
Evaluates this predicate on the given arguments.
|
boolean test(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5)
t1 - The first input argumentt2 - The second input argumentt3 - The third input argumentt4 - The fourth input argumentt5 - The fifth input argumenttrue if the input arguments matches the predicate,
otherwise falsedefault Predicate5<T1,T2,T3,T4,T5> and(Predicate5<? super T1,? super T2,? super T3,? super T4,? super T5> 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 Predicate5<T1,T2,T3,T4,T5> negate()
default Predicate5<T1,T2,T3,T4,T5> or(Predicate5<? super T1,? super T2,? super T3,? super T4,? super T5> 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