C# Class UAM.Kora.RBTreeExtensions

Show file Open project: vosen/kora

Public Methods

Method 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

Method Description
InOrderAdd ( RBTree node, RBTree array, int index ) : int

Method Details

CopySorted() public static method

public static CopySorted ( this tree, RBTree array, int offset ) : void
tree this
array RBTree
offset int
return void

FirstNode() public static method

public static FirstNode ( this tree ) : RBTree.Node
tree this
return RBTree.Node

LastNode() public static method

public static LastNode ( this node ) : RBTree.Node
node this
return RBTree.Node

ToSortedArray() public static method

public static ToSortedArray ( this tree ) : RBTree.Node[]
tree this
return RBTree.Node[]