- All Superinterfaces:
Function<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 ThrowableFunction<T,R,E extends Throwable>
extends Function<T,R>
- Author:
- Collin Alpert
-
Method Summary
| Modifier and Type |
Method |
Description |
default R |
apply(T t) |
Applies this function to the given argument.
|
R |
run(T t) |
|
-
Method Details
-
-
Applies this function to the given argument.
- Specified by:
apply in interface Function<T,R>
- Parameters:
t - the function argument
- Returns:
- the function result