Package | Description |
---|---|
org.apache.lucene.util.automaton |
Finite-state automaton for regular expressions.
|
Modifier and Type | Field and Description |
---|---|
Transition[][] |
CompiledAutomaton.sortedTransitions
Two dimensional array of transitions, indexed by state
number for traversal.
|
Transition[] |
State.transitionsArray |
Modifier and Type | Field and Description |
---|---|
static Comparator<Transition> |
Transition.CompareByDestThenMinMax |
static Comparator<Transition> |
Transition.CompareByMinMaxThenDest |
Modifier and Type | Method and Description |
---|---|
Transition |
Transition.clone()
Clones this transition.
|
Transition[][] |
Automaton.getSortedTransitions()
Returns a sorted array of transitions for each state (and sets state
numbers).
|
Modifier and Type | Method and Description |
---|---|
Iterable<Transition> |
State.getTransitions()
Returns the set of outgoing transitions.
|
Modifier and Type | Method and Description |
---|---|
void |
State.addTransition(Transition t)
Adds an outgoing transition.
|
void |
State.setTransitions(Transition[] transitions) |
Modifier and Type | Method and Description |
---|---|
void |
State.sortTransitions(Comparator<Transition> comparator)
Sorts transitions array in-place.
|
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.