O1
- the type of the first argument to the predicateO2
- the type of the second argument the predicateO3
- the type of the third argument the predicate@FunctionalInterface
public interface TriPredicate<O1,O2,O3>
Modifier and Type | Method and Description |
---|---|
default TriPredicate<O1,O2,O3> |
and(TriPredicate<? super O1,? super O2,? super O3> other)
Returns a composed predicate that represents a short-circuiting logical AND
of this predicate and another.
|
default TriPredicate<O1,O2,O3> |
negate()
Returns a predicate that represents the logical negation of this predicate.
|
default TriPredicate<O1,O2,O3> |
or(TriPredicate<? super O1,? super O2,? super O3> other)
Returns a composed predicate that represents a short-circuiting logical OR
of this predicate and another.
|
boolean |
test(O1 firstOperand,
O2 secondOperand,
O3 thirdOperand)
Evaluates this predicate on the given arguments.
|
boolean test(O1 firstOperand, O2 secondOperand, O3 thirdOperand)
firstOperand
- the first input argumentsecondOperand
- the second input argumentthirdOperand
- the third input argumentdefault TriPredicate<O1,O2,O3> and(TriPredicate<? super O1,? super O2,? super O3> other)
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 predicatedefault TriPredicate<O1,O2,O3> negate()
default TriPredicate<O1,O2,O3> or(TriPredicate<? super O1,? super O2,? super O3> other)
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 predicate