Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.LongTernaryPredicate Interface Reference

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 ()
 

Detailed Description

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).

See also
Predicate

Definition at line 26 of file LongTernaryPredicate.java.

Member Function Documentation

◆ negate() [1/2]

default LongTernaryPredicate com.google.ortools.constraintsolver.LongTernaryPredicate.negate ( )

Returns a predicate that represents the logical negation of this predicate.

Returns
a predicate that represents the logical negation of this predicate

Definition at line 45 of file LongTernaryPredicate.java.

◆ negate() [2/2]

default LongTernaryPredicate com.google.ortools.constraintsolver.LongTernaryPredicate.negate ( )

Returns a predicate that represents the logical negation of this predicate.

Returns
a predicate that represents the logical negation of this predicate

Definition at line 45 of file LongTernaryPredicate.java.

◆ test() [1/2]

boolean com.google.ortools.constraintsolver.LongTernaryPredicate.test ( long left,
long center,
long right )

Evaluates this predicate on the given arguments.

Parameters
leftthe first operand
centerthe second operand
rightthe third operand
Returns
true if the input argument matches the predicate, otherwise false

◆ test() [2/2]

boolean com.google.ortools.constraintsolver.LongTernaryPredicate.test ( long left,
long center,
long right )

Evaluates this predicate on the given arguments.

Parameters
leftthe first operand
centerthe second operand
rightthe third operand
Returns
true if the input argument matches the predicate, otherwise false

The documentation for this interface was generated from the following files: