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

    Modifier and Type
    Method
    Description
    apply(I1 input1, I2 input2)
    Converts I1, I2 to O.
  • Method Details

    • apply

      @NonNull O apply(@NonNull I1 input1, @NonNull I2 input2) throws Exception
      Converts I1, I2 to O.
      Parameters:
      input1 - First input
      input2 - Second input
      Returns:
      output of type O
      Throws:
      Exception