| Package | Description |
|---|---|
| io.buybrain.util |
| Modifier and Type | Method and Description |
|---|---|
<R> Result<R,?> |
Result.andThen(ThrowingConsumer<T> op) |
Result<?,?> |
Result.andThenTry(ThrowingConsumer<T> op) |
Result<T,?> |
Result.orElse(ThrowingConsumer<E> op) |
Result<T,?> |
Result.orElseTry(ThrowingConsumer<E> op) |
static <T> java.util.function.Consumer<T> |
Exceptions.rethrow(ThrowingConsumer<T> consumer)
Transform a throwing consumer into a non throwing consumer by wrapping exceptions in RuntimeExceptions
|
Copyright © 2017. All rights reserved.