示例#1
0
 internal Enumerator(SkipLinkedList <T> list)
 {
     this.list = list;
     version   = list.version;
     node      = list.head;
     current   = default(T);
     index     = 0;
 }
示例#2
0
 internal void Invalidate()
 {
     list = null;
     next = null;
     prev = null;
 }
示例#3
0
 internal SkipLinkedListNode(SkipLinkedList <T> list, T value)
 {
     this.list = list;
     this.item = value;
 }