Click or drag to resize
AATreeTKey, TValue Class
Dictionary like implementation using AATree.
Inheritance Hierarchy
  BioAATreeTKey, TValue

Namespace: Bio
Assembly: Bio.Core (in Bio.Core.dll) Version: (
public class AATree<TKey, TValue>

Type Parameters

Key type.
Value type.

The AATreeTKey, TValue type exposes the following members.

Public propertyCount
Gets the number of elements present in the AATree.
Public propertyDefaultValue
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.
Public propertyItem
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.
Public methodAdd
Tries to add specified key and value to the AATree. If the key is already present then this method returns without adding.
Public methodContains
Verifies whether the specified key is present in the tree or not.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInOrderTraversal
Gets Key and its associated value using InOrder traversal.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPostOrderTraversal
Gets Key and its associated value using PostOrder traversal.
Public methodPreOrderTraversal
Gets Key and its associated value using PreOrder traversal.
Public methodRemove
Tries to remove specified key and associated value from the AATree.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Searches for the specified key in the AATree. If found returns the associated value in value out param, else this param contains DefaultValue.
See Also