AvlTreeTKey, TValue Class |
Namespace: RTMath.Containers
public class AvlTree<TKey, TValue> where TKey : IComparable
The AvlTreeTKey, TValue type exposes the following members.
Name | Description | |
---|---|---|
AvlTreeTKey, TValue |
Creates AVL tree.
| |
AvlTreeTKey, TValue(Int32) |
Creates AVL tree with required number of preallocated elements.
|
Name | Description | |
---|---|---|
Count |
Number of elements in tree.
| |
First |
Returns iterator which points to the first element in the tree.
| |
ItemDouble |
Finds iterator which is greater than specified percentile elements in the tree.
| |
ItemInt32 |
Finds iterator at the specified position in the sorted order.
| |
Last |
Returns iterator which points to the last element in the tree.
|
Name | Description | |
---|---|---|
Add |
Adds element into the tree.
| |
ContainsKey |
Finds whether tree contains required key.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GreaterOrEqualIterator |
Finds iterator which points to the smallest element greater or equal than specified key.
| |
LessOrEqualIterator |
Finds iterator which points to the greatest element less or equal than specified key.
| |
OrderStatisticIterator |
Finds iterator at the specified position in the sorted order.
| |
QuantileIterator |
Finds iterator which is greater than specified percentile elements in the tree.
| |
Remove |
Removes item with specified key.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
_NO_ELEMENT |
Reference to null element.
|