Interface ThrowingFunction<T,R>
-
- Type Parameters:
R
- the result of the functionT
- the input of the function
- 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>
Implementation of
Function
to allow also exceptions- Since:
- 2.0
- Author:
- Andreas Pointner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
apply(T t)
Applies a function to t
-