예제 #1
0
 /// <summary>
 /// Initializes an instance of a SkipListEnumerator.
 /// </summary>
 /// <param name="list"></param>
 public SkipListEnumerator(SkipList list)
 {
     this.list = list;
     version   = list.version;
     current   = list.header;
 }
예제 #2
0
 /// <summary>
 /// Initializes an instance of a SkipListEnumerator.
 /// </summary>
 /// <param name="list"></param>
 public SkipListEnumerator(SkipList list)
 {
     this.list = list;
     version = list.version;
     current = list.header;
 }