Java Reference

Java Reference

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.

Public Member Functions

boolean test (long left, long center, long right)
 Evaluates this predicate on the given arguments. More...
 
default LongTernaryPredicate negate ()
 Returns a predicate that represents the logical negation of this predicate. More...
 

Member Function Documentation

◆ 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

Definition at line 45 of file LongTernaryPredicate.java.

◆ test()

boolean 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 file: