Uses of Interface
org.wildfly.common.function.ExceptionSupplier
Packages that use ExceptionSupplier
Package
Description
Classes which implement useful functions which are missing from
java.util.function.-
Uses of ExceptionSupplier in org.wildfly.common.function
Methods in org.wildfly.common.function that return ExceptionSupplierModifier and TypeMethodDescriptiondefault <R> ExceptionSupplier<R,E> ExceptionSupplier.andThen(ExceptionFunction<? super T, ? extends R, ? extends E> after) static <T extends TT,E extends EE, TT, EE extends Exception>
ExceptionSupplier<TT,EE> Functions.cast(ExceptionSupplier<T, E> supplier) Returns aExceptionSupplierwith identical behavior to the specifiedExceptionSupplierbut with relaxed return type and relaxed exception type.default ExceptionSupplier<R,E> ExceptionBiFunction.compose(ExceptionSupplier<? extends T, ? extends E> before1, ExceptionSupplier<? extends U, ? extends E> before2) default ExceptionSupplier<R,E> ExceptionFunction.compose(ExceptionSupplier<? extends T, ? extends E> before) static <T,E extends Exception>
ExceptionSupplier<T,E> Functions.constantExceptionSupplier(T value) Get a supplier which always returns the same value.Methods in org.wildfly.common.function that return types with arguments of type ExceptionSupplierModifier and TypeMethodDescriptionstatic <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,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.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 ExceptionSupplierModifier and TypeMethodDescriptionstatic <T extends TT,E extends EE, TT, EE extends Exception>
ExceptionSupplier<TT,EE> Functions.cast(ExceptionSupplier<T, E> supplier) Returns aExceptionSupplierwith identical behavior to the specifiedExceptionSupplierbut with relaxed return type and relaxed exception type.default ExceptionRunnable<E>ExceptionBiConsumer.compose(ExceptionSupplier<? extends T, ? extends E> before1, ExceptionSupplier<? extends U, ? extends E> before2) default ExceptionSupplier<R,E> ExceptionBiFunction.compose(ExceptionSupplier<? extends T, ? extends E> before1, ExceptionSupplier<? extends U, ? extends E> before2) default ExceptionRunnable<E>ExceptionConsumer.compose(ExceptionSupplier<? extends T, ? extends E> before) default ExceptionSupplier<R,E> ExceptionFunction.compose(ExceptionSupplier<? extends T, ? extends E> before)