|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.util.automaton.Transition
public class Transition
Automaton transition.
A transition, which belongs to a source state, consists of a Unicode codepoint interval and a destination state.
Field Summary | |
---|---|
static Comparator<Transition> |
CompareByDestThenMinMax
|
static Comparator<Transition> |
CompareByMinMaxThenDest
|
Constructor Summary | |
---|---|
Transition(int min,
int max,
State to)
Constructs a new transition. |
|
Transition(int c,
State to)
Constructs a new singleton interval transition. |
Method Summary | |
---|---|
Transition |
clone()
Clones this transition. |
boolean |
equals(Object obj)
Checks for equality. |
State |
getDest()
Returns destination of this transition. |
int |
getMax()
Returns maximum of this transition interval. |
int |
getMin()
Returns minimum of this transition interval. |
int |
hashCode()
Returns hash code. |
String |
toString()
Returns a string describing this state. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Comparator<Transition> CompareByDestThenMinMax
public static final Comparator<Transition> CompareByMinMaxThenDest
Constructor Detail |
---|
public Transition(int c, State to)
c
- transition codepointto
- destination statepublic Transition(int min, int max, State to)
min
- transition interval minimummax
- transition interval maximumto
- destination stateMethod Detail |
---|
public int getMin()
public int getMax()
public State getDest()
public boolean equals(Object obj)
equals
in class Object
obj
- object to compare with
public int hashCode()
hashCode
in class Object
public Transition clone()
clone
in class Object
public String toString()
Automaton.toString()
.
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |