| Package | Description |
|---|---|
| de.flapdoodle.types |
| Modifier and Type | Method and Description |
|---|---|
default ThrowingConsumer<T,E> |
ThrowingConsumer.andFinally(Runnable runnable) |
static <T,E extends Exception> |
Try.consumer(ThrowingConsumer<T,E> consumer) |
default <N extends Exception> |
ThrowingConsumer.mapException(Function<Exception,N> exceptionMapper) |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
Try.accept(ThrowingConsumer<T,? extends Exception> consumer,
T value) |
static <T,E extends Exception> |
Try.consumer(ThrowingConsumer<T,E> consumer) |
<E extends Exception> |
Optionals.Wrapper.ifPresent(ThrowingConsumer<? super T,E> consumer) |
Copyright © 2023. All rights reserved.