public interface StateMachineTemplate<S,E,C>
| Modifier and Type | Method and Description |
|---|---|
StateMachine<S,E,C> |
newStateMachine(S init)
Creates a new state machine using the transition model as a template
|
StateMachine<S,E,C> |
newStateMachine(S init,
java.util.concurrent.locks.Lock lock) |
StateMachine<S,E,C> newStateMachine(S init)
init - the state the machine will be in when createdStateMachine<S,E,C> newStateMachine(S init, java.util.concurrent.locks.Lock lock)