Class States
- java.lang.Object
-
- de.quantummaid.injectmaid.statemachine.States
-
public final class States extends Object
-
-
Constructor Summary
Constructors Constructor Description States()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddIfNotPresent(State state)voidaddOrFailIfAlreadyPresent(State state, boolean allowDuplicatesIfSame)booleanallFinal()<T> Stream<T>collect(Function<State,T> mapper)static Statesstates()voidupdate(UnaryOperator<State> signal)
-
-
-
Method Detail
-
states
public static States states()
-
addIfNotPresent
public void addIfNotPresent(State state)
-
addOrFailIfAlreadyPresent
public void addOrFailIfAlreadyPresent(State state, boolean allowDuplicatesIfSame)
-
update
public void update(UnaryOperator<State> signal)
-
allFinal
public boolean allFinal()
-
-