Modifier and Type | Field and Description |
---|---|
Builder.Arc<T>[] |
arcs |
int |
depth
This node's depth, starting from the automaton root.
|
long |
inputCount |
boolean |
isFinal |
int |
numArcs |
T |
output |
Constructor and Description |
---|
Builder.UnCompiledNode(Builder<T> owner,
int depth) |
Modifier and Type | Method and Description |
---|---|
void |
addArc(int label,
org.apache.lucene.util.fst.Builder.Node target) |
void |
clear() |
void |
deleteLast(int label,
org.apache.lucene.util.fst.Builder.Node target) |
T |
getLastOutput(int labelToMatch) |
boolean |
isCompiled() |
void |
prependOutput(T outputPrefix) |
void |
replaceLast(int labelToMatch,
org.apache.lucene.util.fst.Builder.Node target,
T nextFinalOutput,
boolean isFinal) |
void |
setLastOutput(int labelToMatch,
T newOutput) |
public int numArcs
public Builder.Arc<T>[] arcs
public T output
public boolean isFinal
public long inputCount
public final int depth
public boolean isCompiled()
public void clear()
public T getLastOutput(int labelToMatch)
public void addArc(int label, org.apache.lucene.util.fst.Builder.Node target)
public void replaceLast(int labelToMatch, org.apache.lucene.util.fst.Builder.Node target, T nextFinalOutput, boolean isFinal)
public void deleteLast(int label, org.apache.lucene.util.fst.Builder.Node target)
public void setLastOutput(int labelToMatch, T newOutput)
public void prependOutput(T outputPrefix)