Interface IntIntToLongFunction

  • 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 IntIntToLongFunction
    Represents a function that accepts two int-valued arguments and produces a long-valued result. This is the intint-to-long primitive specialization for Function.

    This is a functional interface whose functional method is #applyAsLong(long, long).

    See Also:
    Function
    • Method Detail

      • applyAsLong

        long applyAsLong​(int left,
                         int right)
        Applies this function to the given arguments.
        Parameters:
        left - the first argument
        right - the second argument
        Returns:
        the function result