K
- the enum used to identify statesE
- the enum used to identify eventspublic abstract class StateFactory<K,E> extends java.lang.Object implements IStateFactory<K,E>
Modifier and Type | Method and Description |
---|---|
ObjectState<K,E> |
getState(K state) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInitialState
public ObjectState<K,E> getState(K state)
getState
in interface IStateFactory<K,E>
state
- the state enum of the state to retrieve