Package org.apache.commons.lang3
Interface Functions.FailableFunction<I,R,T extends Throwable>
- Type Parameters:
I
- Input type 1.R
- Return type.T
- Thrown exception.
- Enclosing class:
- Functions
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Deprecated
@FunctionalInterface
public static interface Functions.FailableFunction<I,R,T extends Throwable>
Deprecated.
-
Method Summary
-
Method Details
-
apply
Deprecated.Applies this function.- Parameters:
input
- the input for the function- Returns:
- the result of the function
- Throws:
T
- Thrown when the function fails.
-
FailableFunction
.