Package org.radarbase.schema.util
Interface SchemaUtils.ThrowingFunction<T,R>
- Type Parameters:
T- type of value taken.R- type of value returned.
- Enclosing class:
- SchemaUtils
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Function that may throw an exception.
-
Method Summary
-
Method Details
-
apply
Apply containing function.- Parameters:
value- value to apply function to.- Returns:
- result of the function.
- Throws:
Exception- if the function fails.
-