Uses of Class
org.apache.lucene.util.automaton.StringsToAutomaton.State
Packages that use StringsToAutomaton.State
Package
Description
Finite-state automaton for regular expressions.
-
Uses of StringsToAutomaton.State in org.apache.lucene.util.automaton
Fields in org.apache.lucene.util.automaton declared as StringsToAutomaton.StateModifier and TypeFieldDescriptionprivate static final StringsToAutomaton.State[]
StringsToAutomaton.State.NO_STATES
An empty set of states.private final StringsToAutomaton.State
StringsToAutomaton.root
Root automaton state.(package private) StringsToAutomaton.State[]
StringsToAutomaton.State.states
States reachable from outgoing transitions.Fields in org.apache.lucene.util.automaton with type parameters of type StringsToAutomaton.StateModifier and TypeFieldDescriptionStringsToAutomaton.stateRegistry
A "registry" for state interning.StringsToAutomaton.stateRegistry
A "registry" for state interning.Methods in org.apache.lucene.util.automaton that return StringsToAutomaton.StateModifier and TypeMethodDescription(package private) StringsToAutomaton.State
StringsToAutomaton.State.getState
(int label) Returns the target state of a transition leaving this state and labeled withlabel
.(package private) StringsToAutomaton.State
StringsToAutomaton.State.lastChild()
Return the most recent transitions's target state.(package private) StringsToAutomaton.State
StringsToAutomaton.State.lastChild
(int label) Return the associated state if the most recent transition is labeled withlabel
.(package private) StringsToAutomaton.State
StringsToAutomaton.State.newState
(int label) Create a new outgoing transition labeledlabel
and return the newly created target state for this transition.Methods in org.apache.lucene.util.automaton with parameters of type StringsToAutomaton.StateModifier and TypeMethodDescriptionprivate static int
StringsToAutomaton.convert
(Automaton.Builder a, StringsToAutomaton.State s, IdentityHashMap<StringsToAutomaton.State, Integer> visited) Internal recursive traversal for conversion.(package private) void
StringsToAutomaton.State.replaceLastChild
(StringsToAutomaton.State state) Replace the last added outgoing transition's target state with the given state.private void
StringsToAutomaton.replaceOrRegister
(StringsToAutomaton.State state) Replace last child ofstate
with an already registered state or stateRegistry the last child state.Method parameters in org.apache.lucene.util.automaton with type arguments of type StringsToAutomaton.StateModifier and TypeMethodDescriptionprivate static int
StringsToAutomaton.convert
(Automaton.Builder a, StringsToAutomaton.State s, IdentityHashMap<StringsToAutomaton.State, Integer> visited) Internal recursive traversal for conversion.