Uses of Interface
io.smallrye.common.function.ExceptionFunction
-
Uses of ExceptionFunction in io.smallrye.common.function
Subinterfaces of ExceptionFunction in io.smallrye.common.functionModifier and TypeInterfaceDescriptioninterfaceExceptionUnaryOperator<T,E extends Exception> A unary operator which can throw an exception.Methods in io.smallrye.common.function that return ExceptionFunctionModifier and TypeMethodDescriptiondefault <R2> ExceptionFunction<T, R2, E> ExceptionFunction.andThen(ExceptionBiFunction<? super T, ? super R, ? extends R2, ? extends E> after) Returns a function which applies the argument to, and result of, this function to the given function.default <R2> ExceptionFunction<T, R2, E> ExceptionFunction.andThen(ExceptionFunction<? super R, ? extends R2, ? extends E> after) Returns a function which applies the result of this function to the given function.default <R> ExceptionFunction<T, R, E> ExceptionToIntFunction.andThen(ExceptionIntFunction<? extends R, ? extends E> after) Apply the given function after this function.default <R> ExceptionFunction<T, R, E> ExceptionToIntFunction.andThen(ExceptionLongFunction<? extends R, ? extends E> after) Apply the given function after this function.default <R> ExceptionFunction<T, R, E> ExceptionToLongFunction.andThen(ExceptionLongFunction<R, E> after) Returns a function which passes the result of this function through the given function.static <T,R extends RR, E extends EE, TT extends T, RR, EE extends Exception>
ExceptionFunction<TT, RR, EE> Functions.cast(ExceptionFunction<T, R, E> function) Returns aExceptionFunctionwith identical behavior to the specifiedExceptionFunctionbut with restricted parameter type, relaxed return type, and relaxed exception type.default <T2> ExceptionFunction<T2, R, E> ExceptionFunction.compose(ExceptionFunction<? super T2, ? extends T, ? extends E> before) Returns a function which applies the result of the given function to this function.default <T> ExceptionFunction<T, R, E> ExceptionIntFunction.compose(ExceptionToIntFunction<? super T, ? extends E> before) Returns a function which applies the result of another function to this function.default <T> ExceptionFunction<T, R, E> ExceptionLongFunction.compose(ExceptionToLongFunction<? super T, ? extends E> before) Returns a function which applies the result of another function to this function.static <R,E extends Exception>
ExceptionFunction<ExceptionSupplier<R, E>, R, E> Functions.exceptionSupplierFunction()Get the singleton function which accepts a supplier and returns the result of the supplier.static <R> ExceptionFunction<Supplier<R>, R, RuntimeException> Functions.supplierExceptionFunction()Get the singleton function which accepts a supplier and returns the result of the supplier.Methods in io.smallrye.common.function that return types with arguments of type ExceptionFunctionModifier and TypeMethodDescriptionstatic <T,R, E extends Exception>
ExceptionBiFunction<ExceptionFunction<T, R, E>, T, R, E> Functions.exceptionFunctionBiFunction()Get the singleton function which accepts a function and a parameter to pass to the function, and returns the result of the function.static <R,E extends Exception>
ExceptionBiFunction<ExceptionFunction<ExceptionSupplier<R, E>, R, E>, ExceptionSupplier<R, E>, R, E> Functions.exceptionSupplierFunctionBiFunction()Get the singleton function which accepts a function which accepts a supplier, all of which return the result of the supplier.Methods in io.smallrye.common.function with parameters of type ExceptionFunctionModifier and TypeMethodDescriptiondefault <R2> ExceptionBiFunction<T, U, R2, E> ExceptionBiFunction.andThen(ExceptionFunction<? super R, ? extends R2, ? extends E> after) Returns a function which passes the result of this function through the given function.default <R2> ExceptionFunction<T, R2, E> ExceptionFunction.andThen(ExceptionFunction<? super R, ? extends R2, ? extends E> after) Returns a function which applies the result of this function to the given function.default <R2> ExceptionIntFunction<R2, E> ExceptionIntFunction.andThen(ExceptionFunction<? super R, ? extends R2, ? extends E> after) Returns a function which applies the result of this function to another function.default <R2> ExceptionLongFunction<R2, E> ExceptionLongFunction.andThen(ExceptionFunction<? super R, ? extends R2, ? extends E> after) Returns a function which applies the result of this function to another function.default <V> ExceptionObjIntFunction<T, V, E> ExceptionObjIntFunction.andThen(ExceptionFunction<? super R, ? extends V, ? extends E> after) Returns a function that applies the given function to the result of this function.default <V> ExceptionObjLongFunction<T, V, E> ExceptionObjLongFunction.andThen(ExceptionFunction<? super R, ? extends V, ? extends E> after) Returns a function that applies the given function to the result of this function.default <R> ExceptionSupplier<R, E> ExceptionSupplier.andThen(ExceptionFunction<? super T, ? extends R, ? extends E> after) Returns a supplier which passes the result of this supplier through the given function.static <T,R extends RR, E extends EE, TT extends T, RR, EE extends Exception>
ExceptionFunction<TT, RR, EE> Functions.cast(ExceptionFunction<T, R, E> function) Returns aExceptionFunctionwith identical behavior to the specifiedExceptionFunctionbut with restricted parameter type, relaxed return type, and relaxed exception type.default <T2> ExceptionFunction<T2, R, E> ExceptionFunction.compose(ExceptionFunction<? super T2, ? extends T, ? extends E> before) Returns a function which applies the result of the given function to this function.default <T2> ExceptionToIntFunction<T2, E> ExceptionToIntFunction.compose(ExceptionFunction<? super T2, ? extends T, ? extends E> before) Apply this function after the given function.default <T2> ExceptionToLongFunction<T2, E> ExceptionToLongFunction.compose(ExceptionFunction<? super T2, ? extends T, ? extends E> before) Returns a function which passes the result of the given function through this function.static <T,E extends Exception>
ExceptionUnaryOperator<T, E> ExceptionUnaryOperator.of(ExceptionFunction<T, T, E> func) Returns a unary operator which is implemented by the given function.