Interface CheckedFunction<I,O,E extends Exception>  
- Type Parameters:
- I- the input parameter type
- O- the output parameter type
- E- the type thrown
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function with one input and one output which may throw a checked exception.
- Since:
- 4.0.0
- 
Method SummaryModifier and TypeMethodDescriptionPerform the action.static <I,O> CheckedFunction<I, O, RuntimeException> Convert a JDKFunctioninto its checked variant.
- 
Method Details- 
applyPerform the action.- Parameters:
- one- parameter
- Returns:
- return value
- Throws:
- E- thrown when defined by types accepting this function
- Since:
- 4.0.0
 
- 
fromConvert a JDKFunctioninto its checked variant.- Type Parameters:
- I- parameter type
- O- return type
- Parameters:
- func- the function
- Returns:
- the function as a checked function
- Since:
- 4.0.0
 
 
-