| Package | Description |
|---|---|
| org.wildfly.common.function |
Classes which implement useful functions which are missing from
java.util.function. |
| Modifier and Type | Method | Description |
|---|---|---|
default <R> ExceptionSupplier<R,E> |
ExceptionSupplier.andThen(ExceptionFunction<? super T,? extends R,? extends E> after) |
|
default ExceptionSupplier<R,E> |
ExceptionBiFunction.compose(ExceptionSupplier<? extends T,? extends E> before1,
ExceptionSupplier<? extends U,? extends E> before2) |
|
default ExceptionSupplier<R,E> |
ExceptionFunction.compose(ExceptionSupplier<? extends T,? extends E> before) |
|
static <T,E extends java.lang.Exception> |
Functions.constantExceptionSupplier(T value) |
Get a supplier which always returns the same value.
|
| Modifier and Type | Method | Description |
|---|---|---|
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,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 <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 ExceptionRunnable<E> |
ExceptionBiConsumer.compose(ExceptionSupplier<? extends T,? extends E> before1,
ExceptionSupplier<? extends U,? extends E> before2) |
|
default ExceptionSupplier<R,E> |
ExceptionBiFunction.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 ExceptionSupplier<R,E> |
ExceptionFunction.compose(ExceptionSupplier<? extends T,? extends E> before) |
Copyright © 2018 JBoss, a division of Red Hat, Inc.