Package io.github.javactrl.ext
Interface CFunction<T,R>
- Type Parameters:
T
- argument typeR
- result type
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Same as
java.util.function.Function
except it throws CThrowable
-
Method Summary
-
Method Details
-
apply
Functional interface function- Parameters:
v
- the function's argument- Returns:
- the function's result
- Throws:
CThrowable
- if the function is suspended
-