Class FiniteStringsIterator.PathNode

java.lang.Object
org.apache.lucene.util.automaton.FiniteStringsIterator.PathNode
Enclosing class:
FiniteStringsIterator

private static class FiniteStringsIterator.PathNode extends Object
Nodes for path stack.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    Which label we are on, in the min-max range of the current Transition
    int
    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
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • state

      public int state
      Which state the path node ends on, whose transitions we are enumerating.
    • to

      public int to
      Which state the current transition leads to.
    • transition

      public int transition
      Which transition we are on.
    • label

      public int label
      Which label we are on, in the min-max range of the current Transition
    • t

      private final Transition t
  • Constructor Details

    • PathNode

      private PathNode()
  • Method Details

    • resetState

      public void resetState(Automaton a, int state)
    • nextLabel

      public int nextLabel(Automaton a)
      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.