- add
bool add(string k, string v)
Adds a pair of {key, value} into the prefix tree.
- copyTree
PrefixTree copyTree()
Clone a copy of this tree
- isEqual
bool isEqual(dchar c1, char c2)
Undocumented in source. Be warned that the author may not have intended to support it.
- isEqual
bool isEqual(char c1, char c2)
Undocumented in source. Be warned that the author may not have intended to support it.
- match
string match(string text, int off, int end)
Match text with the prefix tree.
- match
string match(string text, ParsePosition pos)
Match text with the prefix tree.
- newNode
PrefixTree newNode(string k, string v, PrefixTree child)
Undocumented in source. Be warned that the author may not have intended to support it.
- prefixOf
bool prefixOf(string text, int off, int end)
Undocumented in source. Be warned that the author may not have intended to support it.
- toKey
string toKey(string k)
Undocumented in source. Be warned that the author may not have intended to support it.
A string based prefix tree for parsing time-zone names.