Esempio n. 1
0
 void DumpTree()
 {
     Debug.Indent();
     if (left != null)
     {
         left.DumpTree();
     }
     Debug.Unindent();
     Debug.WriteLine("{0}, totalListLength={1}, height={2}, Balance={3}, isVisible={4}", ToString(), totalListLength, height, Balance, isVisible);
     Debug.Indent();
     if (right != null)
     {
         right.DumpTree();
     }
     Debug.Unindent();
 }