## Uses of Class
org.apache.lucene.util.automaton.State

Packages that use State
Package | Description
--- | ---
org.apache.lucene.util.automaton | Finite-state automaton for regular expressions.

### Uses of State in org.apache.lucene.util.automaton

Methods in org.apache.lucene.util.automaton that return State
Modifier and Type | Method and Description
--- | ---
`State` | Transition.`getDest()` Returns destination of this transition.
`State` | StatePair.`getFirstState()` Returns first component of this pair.
`State` | Automaton.`getInitialState()` Gets initial state.
`State[]` | Automaton.`getNumberedStates()`
`State` | StatePair.`getSecondState()` Returns second component of this pair.
`State` | State.`step(int c)` Performs lookup in transitions, assuming determinism.

Methods in org.apache.lucene.util.automaton that return types with arguments of type State
Modifier and Type | Method and Description
--- | ---
`Set<State>` | Automaton.`getAcceptStates()` Returns the set of reachable accept states.
`static Set<State>` | SpecialOperations.`reverse(Automaton a)` Reverses the language of the given (non-singleton) automaton while returning the set of new initial states.

Methods in org.apache.lucene.util.automaton with parameters of type State
Modifier and Type | Method and Description
--- | ---
`int` | State.`compareTo(State s)` Compares this object with the specified object for order.
`void` | Automaton.`setNumberedStates(State[] states)`
`void` | Automaton.`setNumberedStates(State[] states, int count)`

Method parameters in org.apache.lucene.util.automaton with type arguments of type State
Modifier and Type | Method and Description
--- | ---
`void` | State.`step(int c, Collection<State> dest)` Performs lookup in transitions, allowing nondeterminism.

Constructors in org.apache.lucene.util.automaton with parameters of type State
Constructor and Description
`Automaton(State initial)` Constructs a new automaton that accepts the empty language.
`StatePair(State s1, State s2)` Constructs a new state pair.
`Transition(int min, int max, State to)` Constructs a new transition.
`Transition(int c, State to)` Constructs a new singleton interval transition.