Interface ThrowingFunction<T,R>
- Type Parameters:
T
- The input typeR
- The result type
- All Superinterfaces:
SpecificThrowingFunction<Exception,
T, R>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ThrowingFunction<T,R>
extends SpecificThrowingFunction<Exception,T,R>
Similar to a
Function
, except that the functional apply
method is allowed to throw any exception.- Since:
- 2.9
-
Method Summary
Methods inherited from interface org.omegazero.common.util.function.SpecificThrowingFunction
apply