| Package | Description |
|---|---|
| com.pivovarit.function |
The
com.pivovarit.function package contains checked equivalents of the java.util.function package |
| Modifier and Type | Method and Description |
|---|---|
default ThrowingConsumer<T,E> |
ThrowingConsumer.andThenConsume(ThrowingConsumer<? super T,? extends E> after)
Chains given ThrowingConsumer instance
|
| Modifier and Type | Method and Description |
|---|---|
default ThrowingConsumer<T,E> |
ThrowingConsumer.andThenConsume(ThrowingConsumer<? super T,? extends E> after)
Chains given ThrowingConsumer instance
|
static <T> Consumer<T> |
ThrowingConsumer.sneaky(ThrowingConsumer<T,?> consumer)
Returns a new BiConsumer instance which rethrows the checked exception using the Sneaky Throws pattern
|
static <T> Consumer<T> |
ThrowingConsumer.unchecked(ThrowingConsumer<T,?> consumer) |
Copyright © 2020. All rights reserved.