com.brightcove.player.util.functional

## Interface Function2<I1,I2,O>

- Type Parameters:
    `I1` - First Input Type
    `I2` - Second Input Type
    `O` - Output Type
  All Known Implementing Classes:
    AdBreakMapper

      public interface Function2<I1,I2,O>

  Function to create an output from two inputs.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `O` | `apply(I1 input1, I2 input2)` Converts `I1, I2` to `O`.

- - ### Method Detail

    - #### apply

          @NonNull
          O apply(@NonNull
                           I1 input1,
                           @NonNull
                           I2 input2)
                    throws java.lang.Exception

      Converts `I1, I2` to `O`.
      Parameters:
        `input1` - First input
        `input2` - Second input
      Returns:
        output of type O
      Throws:
        `java.lang.Exception`