StateConsumer

public interface StateConsumer<S extends EntityState> implements Consumer<T>, MessageConsumer<M, C>

Represents an operation that accepts a state of an entity.

Parameters

<S>

the type of the entity state

Functions

Link copied to clipboard
public void accept(S s, EmptyContext ignored)
Link copied to clipboard
public static StateConsumer<S> from<S extends EntityState>(Consumer<S> consumer)

Inherited functions

Link copied to clipboard
public abstract void accept(T p)
Link copied to clipboard
public BiConsumer<T, U> andThen(BiConsumer<? extends Object, ? extends Object> after)
public Consumer<T> andThen(Consumer<? extends Object> after)