public static class DFA.DFAState
extends java.lang.Object
| Constructor and Description |
|---|
DFAState()
Creates a new DFA state.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTransition(int label,
DFA.DFAState next)
Adds a transition.
|
int |
getFinal()
Gets the final class of this state.
|
void |
setFinal(int finalCode)
Sets the final class of this state.
|
public void addTransition(int label,
DFA.DFAState next)
label - transition edge labelnext - next statepublic int getFinal()
public void setFinal(int finalCode)
finalCode - final index