|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.tumba.spell.TernarySearchTrie.TSTNode
protected final class TernarySearchTrie.TSTNode
An inner class of Ternary Search Trie that represents a node in the trie.
Field Summary | |
---|---|
protected java.lang.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 TernarySearchTrie.TSTNode[] |
relatives
The relative nodes. |
protected char |
splitchar
The char used in the split. |
Constructor Summary | |
---|---|
protected |
TernarySearchTrie.TSTNode(char splitchar,
TernarySearchTrie.TSTNode parent)
Constructor method. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int PARENT
protected static final int LOKID
protected static final int EQKID
protected static final int HIKID
protected java.lang.Object data
protected TernarySearchTrie.TSTNode[] relatives
protected char splitchar
Constructor Detail |
---|
protected TernarySearchTrie.TSTNode(char splitchar, TernarySearchTrie.TSTNode parent)
splitchar
- The char used in the split.parent
- The parent node.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |