Uses of Class
org.apache.lucene.util.automaton.Transition
Package
Description
Finite-state automaton for regular expressions.
-
Uses of Transition in org.apache.lucene.util.automaton
Modifier and TypeMethodDescriptionTransition[][]
Automaton.getSortedTransitions()
Sugar to get all transitions for all states.Modifier and TypeMethodDescriptionvoid
Automaton.getNextTransition
(Transition t) Iterate to the next transition after the provided onevoid
Automaton.getTransition
(int state, int index, Transition t) Fill the providedTransition
with the index'th transition leaving the specified state.int
Automaton.initTransition
(int state, Transition t) Initialize the provided Transition to iterate through all transitions leaving the specified state.int
Automaton.next
(Transition transition, int label) Looks for the next transition that matches the provided label, assuming determinism.