| Package | Description |
|---|---|
| org.wildfly.common.function |
Classes which implement useful functions which are missing from
java.util.function. |
| Modifier and Type | Method | Description |
|---|---|---|
default ExceptionRunnable<E> |
ExceptionRunnable.andThen(ExceptionRunnable<? extends E> after) |
|
default ExceptionRunnable<E> |
ExceptionSupplier.andThen(ExceptionConsumer<? super T,? extends E> after) |
|
default ExceptionRunnable<E> |
ExceptionBiConsumer.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 ExceptionRunnable<E> |
ExceptionRunnable.compose(ExceptionRunnable<? extends E> before) |
|
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.
|
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.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <E extends java.lang.Exception> |
Functions.exceptionRunnableConsumer() |
Get the singleton exception consumer which accepts and runs exception runnable instances.
|
| Modifier and Type | Method | Description |
|---|---|---|
default ExceptionRunnable<E> |
ExceptionRunnable.andThen(ExceptionRunnable<? extends E> after) |
|
default ExceptionRunnable<E> |
ExceptionRunnable.compose(ExceptionRunnable<? extends E> before) |
Copyright © 2018 JBoss, a division of Red Hat, Inc.