protected static final class JaspellTernarySearchTrie.TSTNode extends Object implements Accountable
Modifier and Type | Field and Description |
---|---|
protected Object |
data
The key to the node.
|
protected static int |
EQKID
Index values for accessing relatives array.
|
protected static int |
HIKID
Index values for accessing relatives array.
|
protected static int |
LOKID
Index values for accessing relatives array.
|
protected static int |
PARENT
Index values for accessing relatives array.
|
protected JaspellTernarySearchTrie.TSTNode[] |
relatives
The relative nodes.
|
protected char |
splitchar
The char used in the split.
|
Modifier | Constructor and Description |
---|---|
protected |
TSTNode(char splitchar,
JaspellTernarySearchTrie.TSTNode parent)
Constructor method.
|
Modifier and Type | Method and Description |
---|---|
long |
ramBytesUsed() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildResources
protected static final int PARENT
protected static final int LOKID
protected static final int EQKID
protected static final int HIKID
protected Object data
protected final JaspellTernarySearchTrie.TSTNode[] relatives
protected char splitchar
protected TSTNode(char splitchar, JaspellTernarySearchTrie.TSTNode parent)
splitchar
- The char used in the split.parent
- The parent node.public long ramBytesUsed()
ramBytesUsed
in interface Accountable
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.