|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.util.automaton.RunAutomaton
public abstract class RunAutomaton
Finite-state automaton with fast run operation.
Constructor Summary | |
---|---|
RunAutomaton(Automaton a,
int maxInterval,
boolean tableize)
Constructs a new RunAutomaton from a deterministic
Automaton . |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
int[] |
getCharIntervals()
Returns array of codepoint class interval start points. |
int |
getInitialState()
Returns initial state. |
int |
getSize()
Returns number of states in automaton. |
int |
hashCode()
|
boolean |
isAccept(int state)
Returns acceptance status for given state. |
int |
step(int state,
int c)
Returns the state obtained by reading the given char from the given state. |
String |
toString()
Returns a string representation of this automaton. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RunAutomaton(Automaton a, int maxInterval, boolean tableize)
RunAutomaton
from a deterministic
Automaton
.
a
- an automatonMethod Detail |
---|
public String toString()
toString
in class Object
public final int getSize()
public final boolean isAccept(int state)
public final int getInitialState()
public final int[] getCharIntervals()
public final int step(int state, int c)
Automaton
had no dead states, -1 is returned here if and only
if a dead state is entered in an equivalent automaton with a total
transition function.)
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |