Interface ObjIntPredicate<T>

  • Type Parameters:
    T - the type of the input to the predicate.
    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 ObjIntPredicate<T>
    This is an (Object, int) primitive specialisation of a BiPredicate.
    • Method Summary

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

      • test

        boolean test​(T 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.