Interface FunctionalInterfaces.Intx2Function<R>

  • Type Parameters:
    R - the type of the result of the function
    Enclosing interface:
    FunctionalInterfaces
    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 static interface FunctionalInterfaces.Intx2Function<R>
    Represents a function that accepts two integers and returns an object R. This is a functional interface whose functional method is apply(int,int).
    • Method Detail

      • apply

        R apply​(int i,
                int j)
        Applies this function to the given arguments.
        Parameters:
        i - a first integer
        j - a second integer
        Returns:
        the function result