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.

    @FunctionalInterface
    public interface LongBiPredicate
    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.0-M1
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean test​(long x, long y)
      A function that takes to long arguments and returns a boolean.
    • Method Detail

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