| Package | Description |
|---|---|
| org.wildfly.common.context |
Types related to management of contextual objects.
|
| org.wildfly.common.function |
Classes which implement useful functions which are missing from
java.util.function. |
| Modifier and Type | Method | Description |
|---|---|---|
default <T,R,E extends java.lang.Exception> |
Contextual.runExFunction(ExceptionFunction<T,R,E> function,
T param) |
Run the given task with this contextual object selected.
|
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
ExceptionUnaryOperator<T,E extends java.lang.Exception> |
A unary operator which can throw an exception.
|
| Modifier and Type | Method | Description |
|---|---|---|
default <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) |
|
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 java.lang.Exception> |
Functions.exceptionSupplierFunction() |
Get the singleton function which accepts a supplier and returns the result of the supplier.
|
static <R> ExceptionFunction<java.util.function.Supplier<R>,R,java.lang.RuntimeException> |
Functions.supplierExceptionFunction() |
Get the singleton function which accepts a supplier and returns the result of the supplier.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <T,R,E extends java.lang.Exception> |
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 java.lang.Exception> |
Functions.exceptionSupplierFunctionBiFunction() |
Get the singleton function which accepts a function which accepts a supplier, all of which return the result
of the supplier.
|
| Modifier and Type | Method | Description |
|---|---|---|
default <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) |
|
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 java.lang.Exception> |
ExceptionUnaryOperator.of(ExceptionFunction<T,T,E> func) |
Copyright © 2017 JBoss, a division of Red Hat, Inc.