private void SetRed(RBTreeNode <T> node) { node.Color = NodeColor.Red; }
public RBTreeNode(T key, NodeColor color, RBTreeNode <T> parent, RBTreeNode <T> leftNode, RBTreeNode <T> rightNode) { this.Key = key; this.Color = color; this.Parent = parent; this.LeftNode = leftNode; this.RightNode = rightNode; }
private void SetBlack(RBTreeNode <T> node) { node.Color = NodeColor.Black; }