T - argument typeR - return typeE - the type of Throwable declared@FunctionalInterface public interface CheckedFunction<T,R,E extends Throwable>
FunctionFunction| Modifier and Type | Method and Description | 
|---|---|
default <V> CheckedFunction<T,V,E> | 
andThen(CheckedFunction<? super R,? extends V,? extends E> after)
 | 
R | 
apply(T t)
 | 
default <V> CheckedFunction<V,R,E> | 
compose(CheckedFunction<? super V,? extends T,? extends E> before)
 | 
static <T,E extends Throwable> | 
identity()
 | 
R apply(T t) throws E extends Throwable
t - the function argumentThrowable - any throwabledefault <V> CheckedFunction<V,R,E> compose(CheckedFunction<? super V,? extends T,? extends E> before)
V - the type of input to the before function, and to the
 composed functionbefore - the function to apply before this function is appliedbefore
 function and then applies this functionNullPointerException - if before is nullFunction.compose(java.util.function.Function)default <V> CheckedFunction<T,V,E> andThen(CheckedFunction<? super R,? extends V,? extends E> after)
V - the type of output of the after function, and of the
 composed functionafter - the function to apply after this function is appliedafter functionNullPointerException - if after is nullstatic <T,E extends Throwable> CheckedFunction<T,T,E> identity()
T - argument and return typeCopyright © 2016–2018 earcam. All rights reserved.