Trie (gb.data)

This class implements a Patricia Trie. You can learn about its semantics from Wikipedia.

Diese Klasse ist erstellbar.

Diese Klasse verhält sich wie ein lesen / schreiben-Array.

Mit dem FOR EACH-Schlüsselwort ist diese Klasse zählbar.

Eigenschaften
Count   Return the number of values in the Trie.
Key   Return the key of the last enumerated element.

Methoden
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.