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