示例#1
0
 private AVLNode <T> DoubleRotateRight(AVLNode <T> root)
 {
     root.RightChild = SingleRotateLeft(root.RightChild);
     root            = SingleRotateRight(root);
     return(root);
 }
示例#2
0
 public AVLNode(T element, AVLNode <T> parent)
 {
     Element = element;
     Parent  = parent;
     Height  = 0;
 }