| Package | Description |
|---|---|
| net.openhft.chronicle.testframework.function |
This package provides a set of functional interfaces and related utility classes to enhance
and extend the standard Java functional programming model.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> @NotNull NamedConsumer<T> |
NamedConsumer.of(@NotNull Consumer<T> consumer,
@NotNull String name)
Creates a NamedConsumer instance from the given consumer and name.
|
static <T> @NotNull NamedConsumer<T> |
NamedConsumer.ofThrowing(@NotNull ThrowingConsumer<T,?> consumer,
@NotNull String name)
Creates a NamedConsumer instance from the given ThrowingConsumer and name.
|
Copyright © 2024. All rights reserved.