Represents a collection of key-and-value pairs.
The SkipList class is an implementation of the IDictionary interface. It is based on the data structure created by William Pugh.
Inheritance: IDictionary
示例#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;
 }