Trie (gb.data)
This class implements a Patricia Trie. You can learn about its semantics from
Wikipedia.
Properties
Count
|
Return the number of values in the Trie.
|
Key
|
Return the key of the last enumerated element.
|
Methods
Add
|
Associate a value with a given key. If the value is Null, the key is
removed.
|
Clear
|
Remove all elements from the Trie.
|
Complete
|
Return the completion of the given prefix, that is the longest unambiguous continuation of the input string.
|
Exist
|
Return whether the named key exists, i.e. if it has a value.
|
GetPrefix
|
Return a TriePrefix object to search part of a trie.
|
Remove
|
Remove the named element. This is equivalent to _put'ing Null into its
key.
|