public class TernaryTreeNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) TernaryTreeNode |
eqKid
a reference object to the node containing character next to this node's character as
occurring in the inserted token.
|
(package private) TernaryTreeNode |
hiKid
a reference object to the node containing character higher than this node's character.
|
(package private) TernaryTreeNode |
loKid
a reference object to the node containing character smaller than this node's character.
|
(package private) char |
splitchar
the character stored by a node.
|
(package private) java.lang.String |
token
used by leaf nodes to store the complete tokens to be added to suggest list while
auto-completing the prefix.
|
(package private) java.lang.Object |
val |
Constructor and Description |
---|
TernaryTreeNode()
Creates a new empty node
|
Modifier and Type | Method and Description |
---|---|
(package private) long |
sizeInBytes() |
char splitchar
TernaryTreeNode loKid
TernaryTreeNode eqKid
TernaryTreeNode hiKid
java.lang.String token
java.lang.Object val