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.
Represents a predicate (boolean-valued function) uppon
three
.
long-valued operands. This is the long-consuming primitive type
specialization of
invalid reference
Predicate
This is a functional interface
whose functional method is test(long, long, long).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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 Details
-
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
Returns a predicate that represents the logical negation of this predicate.- Returns:
- a predicate that represents the logical negation of this predicate
-