AATreeTKey, TValue Class |
Namespace: Bio
The AATreeTKey, TValue type exposes the following members.
Name | Description | |
---|---|---|
AATreeTKey, TValue |
Initializes an instance of AATree class.
| |
AATreeTKey, TValue(IComparerTKey) |
Initializes an instance of AATree class with specified comparer.
|
Name | Description | |
---|---|---|
Count |
Gets the number of elements present in the AATree.
| |
DefaultValue |
Gets or sets the default value for TValue type.
This DefaultValue is returned from indexer or TryGetValue methods when the key is not found in the AATree.
| |
Item |
Gets or sets the value for the specified key.
Get Method,
if the key is found then the associated value will be returned, else DefaultValue is returned.
Set Method,
if the key is found then associated value is replaced with the specified value,
else Add method will be called to add key and value.
|
Name | Description | |
---|---|---|
Add |
Tries to add specified key and value to the AATree.
If the key is already present then this method returns without adding.
| |
Contains |
Verifies whether the specified key is present in the tree or not.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InOrderTraversal |
Gets Key and its associated value using InOrder traversal.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PostOrderTraversal |
Gets Key and its associated value using PostOrder traversal.
| |
PreOrderTraversal |
Gets Key and its associated value using PreOrder traversal.
| |
Remove |
Tries to remove specified key and associated value from the AATree.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetValue |
Searches for the specified key in the AATree.
If found returns the associated value in value out param, else this param contains DefaultValue.
|