Method | Description | |
---|---|---|
Add ( IComparable key, object data ) : void |
Add args: ByVal key As IComparable, ByVal data As Object key is object that implements IComparable interface performance tip: change to use use int type (such as the hashcode)
|
|
Clear ( ) : void | ||
ContainsKey ( IComparable key ) : bool | ||
Elements ( ) : |
||
Elements ( bool ascending ) : |
||
GetData ( IComparable key ) : object | ||
GetEnumerator ( ) : |
||
GetMaxKey ( ) : IComparable | ||
GetMaxValue ( ) : object | ||
GetMinKey ( ) : IComparable | ||
GetMinValue ( ) : object | ||
IsEmpty ( ) : bool | ||
KeyElements ( bool ascending ) : |
||
OrderedTree ( ) : System | ||
Remove ( IComparable key ) : void | ||
RemoveMax ( ) : void | ||
RemoveMin ( ) : void | ||
RotateLeft ( |
RotateLeft Rebalance the tree by rotating the nodes to the left
|
|
RotateRight ( |
RotateRight Rebalance the tree by rotating the nodes to the right
|
|
this ( IComparable key ) : object |
Method | Description | |
---|---|---|
Delete ( |
||
RestoreAfterDelete ( |
RestoreAfterDelete Deletions from red-black trees may destroy the red-black properties. Examine the tree and restore. Rotations are normally required to restore it
|
|
RestoreAfterInsert ( |
RestoreAfterInsert Additions to red-black trees usually destroy the red-black properties. Examine the tree and restore. Rotations are normally required to restore it
|
public Add ( IComparable key, object data ) : void | ||
key | IComparable | |
data | object | |
return | void |
public ContainsKey ( IComparable key ) : bool | ||
key | IComparable | |
return | bool |
public Elements ( bool ascending ) : |
||
ascending | bool | |
return |
public GetEnumerator ( ) : |
||
return |
public KeyElements ( bool ascending ) : |
||
ascending | bool | |
return |
public RotateLeft ( |
||
x | ||
return | void |
public RotateRight ( |
||
x | ||
return | void |