Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
boolean | test (long left, long center, long right) |
default LongTernaryPredicate | negate () |
boolean | test (long left, long center, long right) |
default LongTernaryPredicate | negate () |
Represents a predicate (boolean-valued function) uppon three long
-valued operands. This is the long
-consuming primitive type specialization of Predicate
.
This is a functional interface whose functional method is test(long, long, long)
.
Definition at line 26 of file LongTernaryPredicate.java.
default LongTernaryPredicate com.google.ortools.constraintsolver.LongTernaryPredicate.negate | ( | ) |
Returns a predicate that represents the logical negation of this predicate.
Definition at line 45 of file LongTernaryPredicate.java.
default LongTernaryPredicate com.google.ortools.constraintsolver.LongTernaryPredicate.negate | ( | ) |
Returns a predicate that represents the logical negation of this predicate.
Definition at line 45 of file LongTernaryPredicate.java.
boolean com.google.ortools.constraintsolver.LongTernaryPredicate.test | ( | long | left, |
long | center, | ||
long | right ) |
Evaluates this predicate on the given arguments.
left | the first operand |
center | the second operand |
right | the third operand |
true
if the input argument matches the predicate, otherwise false
boolean com.google.ortools.constraintsolver.LongTernaryPredicate.test | ( | long | left, |
long | center, | ||
long | right ) |
Evaluates this predicate on the given arguments.
left | the first operand |
center | the second operand |
right | the third operand |
true
if the input argument matches the predicate, otherwise false