Package | Description |
---|---|
org.apache.lucene.util.automaton |
Finite-state automaton for regular expressions.
|
Modifier and Type | Method and Description |
---|---|
Transition[][] |
Automaton.getSortedTransitions()
Sugar to get all transitions for all states.
|
Modifier and Type | Method and Description |
---|---|
void |
Automaton.getNextTransition(Transition t)
Iterate to the next transition after the provided one
|
void |
Automaton.getTransition(int state,
int index,
Transition t)
Fill the provided
Transition 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.
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.