|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.util.automaton.DaciukMihovAutomatonBuilder.State
public static final class DaciukMihovAutomatonBuilder.State
DFSA state with char
labels on transitions.
Constructor Summary | |
---|---|
DaciukMihovAutomatonBuilder.State()
|
Method Summary | |
---|---|
static DaciukMihovAutomatonBuilder.State[] |
copyOf(DaciukMihovAutomatonBuilder.State[] original,
int newLength)
JDK1.5-replacement of Arrays.copyOf(char[], int) |
boolean |
equals(Object obj)
Two states are equal if: they have an identical number of outgoing transitions, labeled with the same labels corresponding outgoing transitions lead to the same states (to states with an identical right-language). |
DaciukMihovAutomatonBuilder.State |
getState(int label)
Returns the target state of a transition leaving this state and labeled with label . |
DaciukMihovAutomatonBuilder.State[] |
getStates()
Returns an array of outgoing transitions from this state. |
int[] |
getTransitionLabels()
Returns an array of outgoing transition labels. |
boolean |
hasChildren()
Return true if this state has any children (outgoing
transitions). |
int |
hashCode()
Compute the hash code of the current status of this state. |
boolean |
isFinal()
Is this state a final state in the automaton? |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DaciukMihovAutomatonBuilder.State()
Method Detail |
---|
public DaciukMihovAutomatonBuilder.State getState(int label)
label
. If no such transition exists, returns
null
.
public int[] getTransitionLabels()
getStates()
.
public DaciukMihovAutomatonBuilder.State[] getStates()
public boolean equals(Object obj)
equals
in class Object
public boolean hasChildren()
true
if this state has any children (outgoing
transitions).
public boolean isFinal()
public int hashCode()
hashCode
in class Object
public static DaciukMihovAutomatonBuilder.State[] copyOf(DaciukMihovAutomatonBuilder.State[] original, int newLength)
Arrays.copyOf(char[], int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |