public class Transition
extends java.lang.Object
Automaton. This is typically
used temporarily when iterating through transitions by invoking
Automaton.initTransition(int, org.apache.lucene.util.automaton.Transition) and Automaton.getNextTransition(org.apache.lucene.util.automaton.Transition).| Modifier and Type | Field and Description |
|---|---|
int |
dest
Destination state.
|
int |
max
Maximum accepted label (inclusive).
|
int |
min
Minimum accepted label (inclusive).
|
int |
source
Source state.
|
(package private) int |
transitionUpto
Remembers where we are in the iteration; init to -1 to provoke
exception if nextTransition is called without first initTransition.
|
| Constructor and Description |
|---|
Transition()
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
public int source
public int dest
public int min
public int max
int transitionUpto