| Package | Description |
|---|---|
| org.wildfly.common.context |
Types related to management of contextual objects.
|
| org.wildfly.common.expression |
Expression string parsing and expansion classes.
|
| org.wildfly.common.function |
Classes which implement useful functions which are missing from
java.util.function. |
| Modifier and Type | Method | Description |
|---|---|---|
default <T,U,E extends java.lang.Exception> |
Contextual.runExBiConsumer(ExceptionBiConsumer<T,U,E> consumer,
T param1,
U param2) |
Run the given task with this contextual object selected.
|
| Modifier and Type | Method | Description |
|---|---|---|
<E extends java.lang.Exception> |
Expression.evaluateException(ExceptionBiConsumer<ResolveContext<E>,java.lang.StringBuilder,E> expandFunction) |
Evaluate the expression with the given expansion function, which may throw a checked exception.
|
| Modifier and Type | Method | Description |
|---|---|---|
default ExceptionBiConsumer<T,U,E> |
ExceptionBiConsumer.andThen(ExceptionBiConsumer<? super T,? super U,? extends E> after) |
|
default ExceptionBiConsumer<T,U,E> |
ExceptionBiFunction.andThen(ExceptionConsumer<R,? extends E> after) |
|
static <T> ExceptionBiConsumer<java.util.function.Consumer<T>,T,java.lang.RuntimeException> |
Functions.consumerExceptionBiConsumer() |
Get the singleton consumer which accepts a consumer and an argument to hand to it.
|
static <T,U,E extends java.lang.Exception> |
Functions.discardingExceptionBiConsumer() |
Get a consumer which discards the values it is given.
|
static <T,E extends java.lang.Exception> |
Functions.exceptionConsumerBiConsumer() |
Get the singleton consumer which accepts a consumer and an argument to hand to it.
|
| Modifier and Type | Method | Description |
|---|---|---|
default ExceptionBiConsumer<T,U,E> |
ExceptionBiConsumer.andThen(ExceptionBiConsumer<? super T,? super U,? extends E> after) |
|
default ExceptionConsumer<T,E> |
ExceptionFunction.andThen(ExceptionBiConsumer<? super T,? super R,? extends E> after) |
|
static <T,U,E extends java.lang.Exception> |
Functions.exceptionCapturingRunnable(ExceptionBiConsumer<T,U,E> consumer,
T param1,
U param2) |
Get a runnable which executes the given consumer with captured values.
|
Copyright © 2018 JBoss, a division of Red Hat, Inc.