Uses of Interface
io.microsphere.lang.function.ThrowableFunction
-
Packages that use ThrowableFunction Package Description io.microsphere.lang.function io.microsphere.reflect -
-
Uses of ThrowableFunction in io.microsphere.lang.function
Methods in io.microsphere.lang.function that return ThrowableFunction Modifier and Type Method Description default <V> ThrowableFunction<T,V>
ThrowableFunction. andThen(ThrowableFunction<? super R,? extends V> after)
Returns a composed throwable-function that first applies this throwable-function to its input, and then applies theafter
throwable-function to the result.default <V> ThrowableFunction<V,R>
ThrowableFunction. compose(ThrowableFunction<? super V,? extends T> before)
Returns a composed throwable-function that first applies thebefore
throwable-function to its input, and then applies this throwable-function to the result.Methods in io.microsphere.lang.function with parameters of type ThrowableFunction Modifier and Type Method Description default <V> ThrowableFunction<T,V>
ThrowableFunction. andThen(ThrowableFunction<? super R,? extends V> after)
Returns a composed throwable-function that first applies this throwable-function to its input, and then applies theafter
throwable-function to the result.default <V> ThrowableFunction<V,R>
ThrowableFunction. compose(ThrowableFunction<? super V,? extends T> before)
Returns a composed throwable-function that first applies thebefore
throwable-function to its input, and then applies this throwable-function to the result.static <T,R>
RThrowableFunction. execute(T t, ThrowableFunction<T,R> function)
ExecutesThrowableFunction
withthe default exception handling
static <T,R>
RThrowableFunction. execute(T t, ThrowableFunction<T,R> function, java.util.function.BiFunction<T,java.lang.Throwable,R> exceptionHandler)
ExecutesThrowableFunction
with the customized exception handling -
Uses of ThrowableFunction in io.microsphere.reflect
Methods in io.microsphere.reflect with parameters of type ThrowableFunction Modifier and Type Method Description static <E extends java.lang.reflect.Executable & java.lang.reflect.Member,R>
RExecutableUtils. execute(E executableMember, ThrowableFunction<E,R> callback)
Execute anExecutable
instance
-