import java.util.Collection; import java.util.Iterator; import java.util.Map.Entry; import java.util.Set; public class TestProg { public static void main(String[] args) { PatriciaTrie trie = new PatriciaTrie( CharSequenceKeyAnalyzer.INSTANCE); trie.put("abc", "1"); trie.printTrie(); trie.put("abd", "2"); trie.printTrie(); trie.put("abx", "3"); trie.printTrie(); trie.put("ab", "4"); trie.printTrie(); } }