Uses of Interface
org.wildfly.common.function.ExceptionFunction
Packages that use ExceptionFunction
Package
Description
Types related to management of contextual objects.
Classes which implement useful functions which are missing from
java.util.function.-
Uses of ExceptionFunction in org.wildfly.common.context
Methods in org.wildfly.common.context with parameters of type ExceptionFunctionModifier and TypeMethodDescriptiondefault <T,R, E extends Exception>
RContextual.runExFunction(ExceptionFunction<T, R, E> function, T param) Run the given task with this contextual object selected. -
Uses of ExceptionFunction in org.wildfly.common.function
Subinterfaces of ExceptionFunction in org.wildfly.common.functionModifier and TypeInterfaceDescriptioninterfaceExceptionUnaryOperator<T,E extends Exception> A unary operator which can throw an exception.Methods in org.wildfly.common.function that return ExceptionFunctionModifier and TypeMethodDescriptiondefault <R2> ExceptionFunction<T,R2, E> ExceptionFunction.andThen(ExceptionBiFunction<? super T, ? super R, ? extends R2, ? extends E> after) default <R2> ExceptionFunction<T,R2, E> ExceptionFunction.andThen(ExceptionFunction<? super R, ? extends R2, ? extends E> after) default <R> ExceptionFunction<T,R, E> ExceptionToIntFunction.andThen(ExceptionIntFunction<? extends R, ? extends E> after) default <R> ExceptionFunction<T,R, E> ExceptionToIntFunction.andThen(ExceptionLongFunction<? extends R, ? extends E> after) default <R> ExceptionFunction<T,R, E> ExceptionToLongFunction.andThen(ExceptionLongFunction<R, E> after) 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) default <T> ExceptionFunction<T,R, E> ExceptionIntFunction.compose(ExceptionToIntFunction<? super T, ? extends E> before) default <T> ExceptionFunction<T,R, E> ExceptionLongFunction.compose(ExceptionToLongFunction<? super T, ? extends E> before) 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 org.wildfly.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 org.wildfly.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) default <R2> ExceptionFunction<T,R2, E> ExceptionFunction.andThen(ExceptionFunction<? super R, ? extends R2, ? extends E> after) default <R2> ExceptionIntFunction<R2,E> ExceptionIntFunction.andThen(ExceptionFunction<? super R, ? extends R2, ? extends E> after) default <R2> ExceptionLongFunction<R2,E> ExceptionLongFunction.andThen(ExceptionFunction<? super R, ? extends R2, ? extends E> after) default <R> ExceptionSupplier<R,E> ExceptionSupplier.andThen(ExceptionFunction<? super T, ? extends R, ? extends E> after) 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) default <T2> ExceptionToIntFunction<T2,E> ExceptionToIntFunction.compose(ExceptionFunction<? super T2, ? extends T, ? extends E> before) default <T2> ExceptionToLongFunction<T2,E> ExceptionToLongFunction.compose(ExceptionFunction<? super T2, ? extends T, ? extends E> before) static <T,E extends Exception>
ExceptionUnaryOperator<T,E> ExceptionUnaryOperator.of(ExceptionFunction<T, T, E> func)