Tipic Instant Messaging Platform - Programmer's Reference Guide

IndexedTrie Members

IndexedTrie overview

Public Instance Constructors

IndexedTrie Overloaded. Initializes a new instance of the IndexedTrie class.

Public Instance Properties

Count (inherited from Trie) How many values are stored? Note: NOT how many nodes.
IsFixedSize (inherited from Trie) Always "false" for now.
IsReadOnly (inherited from Trie) Always "false" for now
IsSynchronized (inherited from Trie) Always "false" for now
Keys (inherited from Trie) Get a list of all of the keys. Hope this doesn't get called often, since it has to make copies of all of the possible keys.
MaxResults The maximum number of results to return from any query. This is an approximate number.
SyncRoot (inherited from Trie) Object to synchronize on, if in thread-safe mode. TODO: implement settable SyncRoot
Values (inherited from Trie) Return a collection containing all of the values.

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 Properties

ItemOverloaded. Find the index for the given byte.

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