Interface LongTernaryPredicate
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface LongTernaryPredicateRepresents a predicate (boolean-valued function) uppon threelong-valued operands. This is thelong-consuming primitive type specialization ofPredicate.This is a functional interface whose functional method is
test(long, long, long).- See Also:
Predicate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LongTernaryPredicatenegate()Returns a predicate that represents the logical negation of this predicate.booleantest(long left, long center, long right)Evaluates this predicate on the given arguments.
-
-
-
Method Detail
-
test
boolean test(long left, long center, long right)Evaluates this predicate on the given arguments.- Parameters:
left- the first operandcenter- the second operandright- the third operand- Returns:
trueif the input argument matches the predicate, otherwisefalse
-
negate
default LongTernaryPredicate negate()
Returns a predicate that represents the logical negation of this predicate.- Returns:
- a predicate that represents the logical negation of this predicate
-
-