I - the type of the input to the functionT - the type of Throwable thrownR - the type of the result of the function@FunctionalInterface public interface ThrowingFunction<I,R,T extends Throwable>
This is a functional interface
whose functional method is apply(Object).
| Modifier and Type | Method and Description |
|---|---|
R |
apply(I in)
Applies this function to the given argument.
|
static <I,R,T extends Throwable> |
asFunction(ThrowingFunction<I,R,T> function) |
static <I,R,T extends Throwable> Function<I,R> asFunction(@NotNull ThrowingFunction<I,R,T> function)
Copyright © 2018. All rights reserved.