Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the SortedListEnumerator class 
 /// with the specified root of the AVL tree to iterate over.
 /// </summary>
 /// <param name="root">
 /// The root of the AVL tree the SortedList uses internally.
 /// </param>
 public SortedListEnumerator(IAvlNode root)
 {
     enumerator = new AvlEnumerator(root);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the SortedListEnumerator class
 /// with the specified root of the AVL tree to iterate over.
 /// </summary>
 /// <param name="root">
 /// The root of the AVL tree the SortedList uses internally.
 /// </param>
 public SortedListEnumerator(IAvlNode root)
 {
     enumerator = new AvlEnumerator(root);
 }