| 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,U,R,E extends java.lang.Exception> |
Contextual.runExBiFunction(ExceptionBiFunction<T,U,R,E> function,
T param1,
U param2) |
Run the given task with this contextual object selected.
|
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
ExceptionBinaryOperator<T,E extends java.lang.Exception> |
A binary operator which can throw an exception.
|
| Modifier and Type | Method | Description |
|---|---|---|
default <R2> ExceptionBiFunction<T,U,R2,E> |
ExceptionBiFunction.andThen(ExceptionFunction<? super R,? extends R2,? extends E> after) |
|
default <R> ExceptionBiFunction<T,U,R,E> |
ExceptionToIntBiFunction.andThen(ExceptionIntFunction<R,E> after) |
|
default <R> ExceptionBiFunction<T,U,R,E> |
ExceptionToIntBiFunction.andThen(ExceptionLongFunction<R,E> after) |
|
default <R> ExceptionBiFunction<T,U,R,E> |
ExceptionToLongBiFunction.andThen(ExceptionLongFunction<R,E> after) |
|
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.
|
static <T,R> ExceptionBiFunction<java.util.function.Function<T,R>,T,R,java.lang.RuntimeException> |
Functions.functionExceptionBiFunction() |
Get the singleton function which accepts a function and a parameter to pass to the function, and returns the
result of the function.
|
| Modifier and Type | Method | Description |
|---|---|---|
default <R2> ExceptionFunction<T,R2,E> |
ExceptionFunction.andThen(ExceptionBiFunction<? super T,? super R,? extends R2,? extends E> after) |
Copyright © 2017 JBoss, a division of Red Hat, Inc.