| Package | Description |
|---|---|
| net.openhft.chronicle.testframework.function |
| Modifier and Type | Method and Description |
|---|---|
static <T> Consumer<T> |
ThrowingConsumer.of(ThrowingConsumer<T,?> throwingConsumer)
Creates and returns a new Consumer that will wrap any exceptions thrown by the
provided
throwingConsumer in a ThrowingConsumerException |
static <T> NamedConsumer<T> |
NamedConsumer.ofThrowing(ThrowingConsumer<T,?> consumer,
String name) |
Copyright © 2022. All rights reserved.