Package de.espirit.common.function
Interface UnaryFunction<R,P>
- Type Parameters:
P
- Parameter type.R
- Result type.
Deprecated.
Simple interface to create an type safe instance of an object based on one parameter.
- Since:
- 4.2.416
- See Also:
-
Method Summary
-
Method Details
-
invoke
Deprecated.Generates an object of the specified type based on the given parameter. Each call to this method should create a new instance.- Parameters:
parameter
- the parameter used to create the instance- Returns:
- the generated object of the specified type
- Since:
- 4.2.416
-
Function
instead