Interface ObjectIntToIntFunction<T>

  • Type Parameters:
    T - the type of the input to the function.
    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 ObjectIntToIntFunction<T>
    This is an (Object, int) -> int primitive specialisation of a BiFunction.
    • Method Detail

      • apply

        int apply​(T t,
                  int i)
        Applies this function to the given arguments.
        Parameters:
        t - the first function argument
        i - the second function argument
        Returns:
        the function result