Interface BinaryFunction<R,P1,P2>


@Deprecated(since="5.2.231004") public interface BinaryFunction<R,P1,P2>
Deprecated.
since 5.2.231004 - Use BiFunction instead
Simple interface to create a type safe instance of an object based on two parameters.
Since:
4.2.416
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    invoke(P1 param1, P2 param2)
    Deprecated.
    Generates an object of the specified type based on the given parameters.
  • Method Details

    • invoke

      R invoke(P1 param1, P2 param2)
      Deprecated.
      Generates an object of the specified type based on the given parameters. Each call to this method should create a new instance.
      Parameters:
      param1 - the first parameter used to create the instance
      param2 - the second parameter used to create the instance
      Returns:
      the generated object of the specified type
      Since:
      4.2.416