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,T extends Throwable,R>
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,T extends Throwable,R> |
asFunction(ThrowingFunction<I,T,R> function) |
static <I,T extends Throwable,R> java.util.function.Function<I,R> asFunction(ThrowingFunction<I,T,R> function)
Copyright © 2016. All rights reserved.