T- The return type of the
E- The exception type of the derived throwable
@FunctionalInterface public static interface Services.Fn<T,E extends Throwable>
|Modifier and Type||Method and Description|
Invokes the underlying function.
Use this function to force typing of an overloaded method handle at compile time.
static <T,E extends Throwable> Services.Fn<T,E> of(Services.Fn<T,E> fn)
T- the return type of the function
E- the exception type thrown by the function
fn- the function to be cast
Copyright © 2020 OpenSignals. All rights reserved.