Module org.apache.lucene.core
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 TypeFieldDescriptionintWhich label we are on, in the min-max range of the current TransitionintWhich state the path node ends on, whose transitions we are enumerating.private final TransitionintWhich state the current transition leads to.intWhich transition we are on. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns next label of current transition, or advances to next transition and returns its first label, if current one is exhausted.voidresetState(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.
-