public class RTrieNode
extends java.lang.Object
History:
Constructor and Description |
---|
RTrieNode()
Create an object of reversed trie node (default).
|
RTrieNode(char key,
int level)
Create an object of reversed trie node (default).
|
RTrieNode(char key,
int level,
java.util.Vector<RTrieNode> child)
Create an object of reversed trie node (default).
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<RTrieNode> |
GetChild()
Get the child of the current node.
|
char |
GetKey()
Get the key of the current node.
|
int |
GetLevel()
Get the level of the current node.
|
void |
PrintNode()
Print out the detail information of a reverse trie node.
|
void |
SetChild(java.util.Vector<RTrieNode> child)
Set the child of the current node.
|
public RTrieNode()
public RTrieNode(char key, int level)
key
- of current trie nodelevel
- of the current nodepublic RTrieNode(char key, int level, java.util.Vector<RTrieNode> child)
key
- of current trie nodelevel
- of the current nodechild
- of the current nodepublic void SetChild(java.util.Vector<RTrieNode> child)
child
- the child of the current nodepublic java.util.Vector<RTrieNode> GetChild()
public char GetKey()
public int GetLevel()
public void PrintNode()