Interface accessing the transitions of an automaton
getNextTransition(org.apache.lucene.util.automaton.Transition t)Iterate to the next transition after the provided one
getNumTransitions(int state)How many transitions this state has.
getTransition(int state, int index, org.apache.lucene.util.automaton.Transition t)Fill the provided Transition with the index'th transition leaving the specified state.
initTransition(int state, org.apache.lucene.util.automaton.Transition t)Initialize the provided Transition to iterate through all transitions leaving the specified
state. You must call #getNextTransition to get each transition. Returns the number of
transitions leaving this state.