Interface IntIntFunction


  • public interface IntIntFunction
    Interface that represents a function object: a function that takes two arguments and returns a single value.
    • Method Detail

      • apply

        int apply​(int x,
                  int y)
        Applies a function to two arguments.
        Parameters:
        x - the first argument passed to the function.
        y - the second argument passed to the function.
        Returns:
        the result of the function.