RadControls for WinForms

The RBTreeBase<(Of <(<'T, N, P>)>)> type exposes the following members.

Constructors

Methods

  NameDescription
Public methodAdd
Add new key into the tree This operation is O(logN) operation
Public methodAddOrGet
Add new key into the tree or get existing node This operation is O(logN) operation
Protected methodBalance
Balance tree past inserting
Public methodClear
Remove all items
Protected methodDelete
Delete the node z, and free up the space
Protected methodDeleteFix
Restore the reb-black properties after a delete
Public methodFind
Find key in the dictionary This operation is O(logN) operation
Public methodFirst
Get first node This operation is O(logN) operation
Public methodLast
Get last node This operation is O(logN) operation
Protected methodLeftRotate
Rotate our tree Left X rb_left_rotate(X)---> Y / \ / \ A Y X C / \ / \ B C A B N.B. This does not change the ordering. We assume that neither X or Y is NULL
Protected methodNewNode
Create new node
Public methodNext
Get next node This operation is O(logN) operation
Protected methodPredecessor
Return a pointer to the largest key smaller than x
Public methodPrevious
Get previous node This operation is O(logN) operation
Public methodRemove(N)
Remove node from the dictionary This operation is O(1) operation
Public methodRemove(T)
Remove key from the dictionary This operation is O(logN) operation
Protected methodRightRotate
Rotate our tree Right X Y / \ / \ A Y leftArrow--rb_right_rotate(Y) X C / \ / \ B C A B N.B. This does not change the ordering. We assume that neither X or Y is NULL
Protected methodSuccessor
Return a pointer to the smallest key greater than x

Fields

  NameDescription
Protected fieldmCount
Protected fieldmRoot
Protected fieldmSyncRoot

Properties

  NameDescription
Public propertyCollection
Get collection object for this
Public propertyCount
Number of nodes in the tree
Public propertyRoot
Root of the tree
Public propertySyncRoot
Object can be used for synchronization
Public propertyUnique
Is tree unique

Explicit Interface Implementations

See Also