Interface IntIntPredicate

  • 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 IntIntPredicate
    Primitive specialisation of a BiPredicate for a pair of ints.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean test​(int valueOne, int valueTwo)
      Evaluates this predicate on the given arguments.
    • Method Detail

      • test

        boolean test​(int valueOne,
                     int valueTwo)
        Evaluates this predicate on the given arguments.
        Parameters:
        valueOne - for the tuple.
        valueTwo - for the tuple.
        Returns:
        true if the input arguments match the predicate, otherwise false.