Author | Message |
---|---|
Amedrano
Posts: 80
|
Posted 19:46 Apr 28, 2016 |
How can you see what's in the TrieNode? If I'm in a TrieNode how can I tell what character the node contains? |
msargent
Posts: 519
|
Posted 19:52 Apr 28, 2016 |
The TrieNodes each have a HashMap of character-TrieNode pairs that denote the children of the TrieNode. Those children in turn have HashMaps of character-TrieNode pairs that denote their children, and so on. |
hippiewho
Posts: 46
|
Posted 02:49 Apr 29, 2016 |
You could use the debugger to view the children after it's been populated.. That being said, there would be a lot of information and really it'll only be letters.. |