| Modifier and Type | Method and Description |
|---|---|
static <T> @NotNull NamedConsumer<T> |
of(@NotNull Consumer<T> consumer,
@NotNull String name) |
static <T> @NotNull NamedConsumer<T> |
ofThrowing(@NotNull ThrowingConsumer<T,?> consumer,
@NotNull String name) |
@NotNull static <T> @NotNull NamedConsumer<T> of(@NotNull @NotNull Consumer<T> consumer, @NotNull @NotNull String name)
@NotNull static <T> @NotNull NamedConsumer<T> ofThrowing(@NotNull @NotNull ThrowingConsumer<T,?> consumer, @NotNull @NotNull String name)
Copyright © 2023. All rights reserved.