Package org.apache.lucene.util.automaton
Class FiniteStringsIterator.PathNode
java.lang.Object
org.apache.lucene.util.automaton.FiniteStringsIterator.PathNode
- Enclosing class:
- FiniteStringsIterator
Nodes for path stack.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
Which label we are on, in the min-max range of the current Transitionint
Which state the path node ends on, whose transitions we are enumerating.private final Transition
int
Which state the current transition leads to.int
Which transition we are on. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns next label of current transition, or advances to next transition and returns its first label, if current one is exhausted.void
resetState
(Automaton a, int state)
-
Field Details
-
state
public int stateWhich state the path node ends on, whose transitions we are enumerating. -
to
public int toWhich state the current transition leads to. -
transition
public int transitionWhich transition we are on. -
label
public int labelWhich label we are on, in the min-max range of the current Transition -
t
-
-
Constructor Details
-
PathNode
private PathNode()
-
-
Method Details
-
resetState
-
nextLabel
Returns next label of current transition, or advances to next transition and returns its first label, if current one is exhausted. If there are no more transitions, returns -1.
-