|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface State
A State is a dynamic state of the finite state machine. It may either be a static (non-counting) AutomatonState, or a dynamically-created CountingState, which represents the combination of an AutomatonState and a counter value
Method Summary | |
---|---|
java.util.Iterator |
getEdges()
Get an iterator over all the transitions (edges) allowed from this state |
Edge |
getTransition(int token,
NamePool pool)
Find the edge representing the transition from this state to another state, that is triggered by a given input token |
Edge[] |
getWildcardEdges()
Get an iterator over the wildcard transitions (edges) allowed from this state. |
boolean |
isFinalState()
|
java.lang.CharSequence |
listAllowedElements()
|
Method Detail |
---|
Edge getTransition(int token, NamePool pool)
token
- the input token, specifically the fingerprint of an element namepool
- the Name Pool
boolean isFinalState()
java.lang.CharSequence listAllowedElements()
Edge[] getWildcardEdges()
Edge
objects.java.util.Iterator getEdges()
Edge
objects.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |