public class TrieNode<T> extends Object
| Constructor and Description |
|---|
TrieNode(char key) |
| Modifier and Type | Method and Description |
|---|---|
TrieNode<T> |
addChild(char k) |
TrieNode<T> |
child(char k) |
char |
getKey() |
int |
getLevel() |
T |
getValue() |
boolean |
isLeaf() |
void |
setKey(char key) |
void |
setLeaf(boolean leaf) |
void |
setLevel(int level) |
void |
setValue(T value) |
String |
toString() |
Copyright © 2022. All rights reserved.