S
- the type of the entity state@FunctionalInterface
public interface StateConsumer<S extends io.spine.base.EntityState>
extends java.util.function.Consumer<S>
Modifier and Type | Method and Description |
---|---|
default void |
accept(S s,
io.spine.core.EmptyContext ignored) |
static <S extends io.spine.base.EntityState> |
from(java.util.function.Consumer<S> consumer) |
static <S extends io.spine.base.EntityState> StateConsumer<S> from(java.util.function.Consumer<S> consumer)
default void accept(S s, io.spine.core.EmptyContext ignored)