Package org.apache.storm.streams.operations

# Interface BiFunction<T,U,R>

Type Parameters:
  `T` - the type of the first argument to the function
  `U` - the type of the second argument to the function
  `R` - the type of the result of the function

All Superinterfaces:
  `Operation`, `Serializable`

All Known Subinterfaces:
  `Reducer<T>`

public interface BiFunction<T,U,R> extends Operation
a function that accepts two arguments and produces a result.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `R`
  `apply(T input1, U input2)`
  Applies this function to the given arguments.

- ## Method Details

  - ### apply

    R apply(T input1, U input2)
    Applies this function to the given arguments.
    Parameters:
      `input1` - the first function argument
      `input2` - the second function argument
    Returns:
      the function result