1 package org.apache.lucene.search.suggest.tst;
4 * The class creates a TST node.
7 public class TernaryTreeNode {
8 /** the character stored by a node. */
10 /** a reference object to the node containing character smaller than this node's character. */
11 TernaryTreeNode loKid;
13 * a reference object to the node containing character next to this node's character as
14 * occurring in the inserted token.
16 TernaryTreeNode eqKid;
17 /** a reference object to the node containing character higher than this node's character. */
18 TernaryTreeNode hiKid;
20 * used by leaf nodes to store the complete tokens to be added to suggest list while
21 * auto-completing the prefix.