Interface ThrowingFunction<T,R>

Type Parameters:
T - The input type
R - 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