Tipic Instant Messaging Platform - Programmer's Reference Guide

IndexedTrie Methods

The methods of the IndexedTrie class are listed below. For a complete list of IndexedTrie class members, see the IndexedTrie Members topic.

Public Instance Methods

Add (inherited from Trie) Add a new key/value pair.
Clear (inherited from Trie) Delete all nodes.
Contains (inherited from Trie) Is the given key in the trie?
CopyTo (inherited from Trie) Copy into an array.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator (inherited from Trie) Iterate over the keys. Each key will be a byte[].
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Increment (inherited from Trie) Extra functionality for trie's whose values are integers. Increment the value corresponding to the key. If the key doesn't exist, put in a value of '1'.
Index Compute the index.
Remove (inherited from Trie) Remove the node associated with the given key, along with all newly empty ancestors.
SubString Return a list of keys that contain the given substring.
ToString (inherited from Object) Returns a String that represents the current Object.
Traverse (inherited from Trie)Overloaded. Perform the given function on every element of the trie. Perl's map() operator.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FindNode (inherited from Trie)Overloaded. Find a node in the given sub-tree.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
Traverse (inherited from Trie)Overloaded. Perform the given function on every element of the trie. Perl's map() operator.

See Also

IndexedTrie Class | bedrock.collections Namespace