Interface LongBiPredicate

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 function that accepts a two long-valued argument and produces a binary result. This is the long-consuming primitive specialization for BiPredicate. This is a functional interface whose functional method is test(long,long).
Since:
4.5
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(long x, long y)
    A function that takes to long arguments and returns a boolean.
  • Method Details

    • test

      boolean test(long x, long y)
      A function that takes to long arguments and returns a boolean.
      Parameters:
      x - the first long argument.
      y - the second long argument.
      Returns:
      true or false.