| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptEmpty()
Returns true if this dfa can accept empty string.
|
void |
calculateMaxFindSkip()
Calculates how many characters we can skip after failed find operation
|
void |
dump(PrintStream p) |
DFAState<T> |
getRoot() |
int |
initialSize()
Note that this initialSize is the initial initialSize.
|
boolean |
isAcceptStart()
Returns true if at least one of the states of this dfa accepts a range prefix.
|
Iterator<DFAState<T>> |
iterator() |
static void |
main(String... args) |
int |
maxDepth()
Calculates the maximum length of accepted string.
|
int |
minDepth()
Calculates the minimum length of accepted string.
|
String |
name() |
boolean |
RemoveRepeatingTransitions()
Removes repeated transitions with the same token.
|
public String name()
public int initialSize()
public boolean isAcceptStart()
public boolean acceptEmpty()
public boolean RemoveRepeatingTransitions()
Transition.getRepeat()public int maxDepth()
public int minDepth()
public void calculateMaxFindSkip()
public void dump(PrintStream p)
public static void main(String... args)