de.espirit.common.function
Interface BinaryFunction<R,P1,P2>
public interface BinaryFunction<R,P1,P2>
Simple interface to create an type safe instance of an object based on two parameters.
- Since:
- 4.2.416
- See Also:
UnaryFunction
,
Generator
Method Summary |
R |
invoke(P1 param1,
P2 param2)
Generates an object of the specified type based on the given parameters. |
invoke
R invoke(P1 param1,
P2 param2)
- 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 instanceparam2
- the second parameter used to create the instance
- Returns:
- the generated object of the specified type
- Since:
- 4.2.416
Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480