Package w.util.function
Class ComponentConsumer.Atomic<T>
java.lang.Object
w.util.function.ComponentConsumer.Atomic<T>
- All Implemented Interfaces:
Consumer<T>,ComponentConsumer<T>
- Enclosing interface:
- ComponentConsumer<T>
public static final class ComponentConsumer.Atomic<T>
extends Object
implements ComponentConsumer<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface w.util.function.ComponentConsumer
ComponentConsumer.Atomic<T>, ComponentConsumer.Simple<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidstatic <T> @NotNull ComponentConsumer<T>create()static <T> @NotNull ComponentConsumer<T>
-
Constructor Details
-
Atomic
public Atomic()
-
-
Method Details
-
create
-
create
@NotNull public static <T> @NotNull ComponentConsumer<T> create(@NotNull @NotNull Consumer<T> initial) -
add
- Specified by:
addin interfaceComponentConsumer<T>
-
accept
-