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 LongTernaryPredicate
    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
    • Method Detail

      • test

        boolean test​(long left,
                     long center,
                     long right)
        Evaluates this predicate on the given arguments.
        Parameters:
        left - the first operand
        center - the second operand
        right - the third operand
        Returns:
        true if the input argument matches the predicate, otherwise false
      • 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