public class DFA
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DFA.DFAState
Represents a state in a DFA.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
NOFINAL |
| Constructor and Description |
|---|
DFA(DFA.DFAState initial)
Constructs a new DFA with the specified initial state.
|
| Modifier and Type | Method and Description |
|---|---|
CompiledDFA |
compile()
Compiles this DFA into a more efficient structure.
|
DFA |
optimize()
Generates the minimal version of this DFA.
|
java.lang.String |
toString() |
public static final int NOFINAL
public DFA(DFA.DFAState initial)
initial - public CompiledDFA compile()
public DFA optimize()
public java.lang.String toString()
toString in class java.lang.Object