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; }
internal void ClearReferences() { color = RBTreeNodeColor.Red; left = null; right = null; parent = null; predecessor = null; successor = null; }
internal RBNode repaint(RBTreeNodeColor color) { return(new RBNode(color, this.key, this.value, this.left, this.right, this.count)); }