de.caff.generics.function

## Interface IntToLongFunction2

- 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 IntToLongFunction2

  Function with two primitive integer arguments and a primitive long result.
  Since:
    November 27, 2020
  Author:
    Rammi

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `applyAsLong(int value1, int value2)` Apply this function to the given 2 arguments.
    `default IntToDoubleFunction2` | `asIntToDoubleFunction()` View this as a 2 `int` to `double` function.

- - ### Method Detail

    - #### applyAsLong

          long applyAsLong(int value1,
                           int value2)

      Apply this function to the given 2 arguments.
      Parameters:
        `value1` - first argument
        `value2` - second argument
      Returns:
        the function result

    - #### asIntToDoubleFunction

          @NotNull
          default IntToDoubleFunction2 asIntToDoubleFunction()

      View this as a 2 `int` to `double` function.
      Returns:
        int to double function, due to precision restrictions sometimes not returning the original integral `long` values but an approximation