C# Class UAM.Kora.RBTreeExtensions

Afficher le fichier Open project: vosen/kora

Méthodes publiques

Méthode Description
CopySorted ( this tree, RBTree array, int offset ) : void
FirstNode ( this tree ) : RBTree.Node
LastNode ( this node ) : RBTree.Node
ToSortedArray ( this tree ) : RBTree.Node[]

Private Methods

Méthode Description
InOrderAdd ( RBTree node, RBTree array, int index ) : int

Method Details

CopySorted() public static méthode

public static CopySorted ( this tree, RBTree array, int offset ) : void
tree this
array RBTree
offset int
Résultat void

FirstNode() public static méthode

public static FirstNode ( this tree ) : RBTree.Node
tree this
Résultat RBTree.Node

LastNode() public static méthode

public static LastNode ( this node ) : RBTree.Node
node this
Résultat RBTree.Node

ToSortedArray() public static méthode

public static ToSortedArray ( this tree ) : RBTree.Node[]
tree this
Résultat RBTree.Node[]