private AVLNode <T> doubleWithLeftChild(AVLNode <T> node) { node.Left = rotateWithLeftChild(node.Left); return(rotateWithLeftChild(node)); }
public void Add(T value) { Root = Insert(value, Root); }
private AVLNode <T> doubleWithRightChild(AVLNode <T> k1) { k1.Right = rotateWithLeftChild(k1.Right); return(rotateWithRightChild(k1)); }
internal AVLNode(T value, AVLNode <T> right = null, AVLNode <T> left = null) { Right = right; Left = left; Value = value; }