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