//Constructor
 public AVLTree()
 {
     root = null;
 }
 //Counstructor
 public AVLTree(AVLNode <T> node)
 {
     root = node;
 }
Пример #3
0
 public AVLNode(T item)
 {
     data  = item;
     Left  = null;
     Right = null;
 }