示例#1
0
 internal RBNode(RBTreeNodeColor color, SweepEvent key, SweepEvent value, RBNode left, RBNode right, long count)
 {
     this.color = color;
     this.key   = key;
     this.value = value;
     this.left  = left;
     this.right = right;
     this.count = count;
 }
示例#2
0
 internal void ClearReferences()
 {
     color       = RBTreeNodeColor.Red;
     left        = null;
     right       = null;
     parent      = null;
     predecessor = null;
     successor   = null;
 }
示例#3
0
 internal RBNode repaint(RBTreeNodeColor color)
 {
     return(new RBNode(color, this.key, this.value, this.left, this.right, this.count));
 }