| 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,E extends java.lang.Exception> |
Contextual.runExConsumer(ExceptionConsumer<T,E> consumer,
T param) |
Run the given task with this contextual object selected.
|
| Modifier and Type | Method | Description |
|---|---|---|
default ExceptionConsumer<T,E> |
ExceptionConsumer.andThen(ExceptionConsumer<? super T,? extends E> after) |
|
default ExceptionConsumer<T,E> |
ExceptionFunction.andThen(ExceptionBiConsumer<? super T,? super R,? extends E> after) |
|
default ExceptionConsumer<T,E> |
ExceptionFunction.andThen(ExceptionConsumer<? super R,? extends E> after) |
|
default ExceptionConsumer<T,E> |
ExceptionConsumer.compose(ExceptionConsumer<? super T,? extends E> before) |
|
static <T,E extends java.lang.Exception> |
Functions.discardingExceptionConsumer() |
Get a consumer which discards the values it is given.
|
static <E extends java.lang.Exception> |
Functions.exceptionRunnableConsumer() |
Get the singleton exception consumer which accepts and runs exception runnable instances.
|
static ExceptionConsumer<java.lang.Runnable,java.lang.RuntimeException> |
Functions.runnableExceptionConsumer() |
Get the singleton exception consumer which accepts and runs runnable instances.
|
| Modifier and Type | Method | Description |
|---|---|---|
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> |
ExceptionBiFunction.andThen(ExceptionConsumer<R,? extends E> after) |
|
default ExceptionConsumer<T,E> |
ExceptionConsumer.andThen(ExceptionConsumer<? super T,? extends E> after) |
|
default ExceptionConsumer<T,E> |
ExceptionFunction.andThen(ExceptionConsumer<? super R,? extends E> after) |
|
default ExceptionRunnable<E> |
ExceptionSupplier.andThen(ExceptionConsumer<? super T,? extends E> after) |
|
default ExceptionConsumer<T,E> |
ExceptionConsumer.compose(ExceptionConsumer<? super T,? extends E> before) |
|
static <T,E extends java.lang.Exception> |
Functions.exceptionCapturingRunnable(ExceptionConsumer<T,E> consumer,
T param) |
Get a runnable which executes the given consumer with captured values.
|
Copyright © 2017 JBoss, a division of Red Hat, Inc.