Esempio n. 1
0
 public LinkedListArray(LinkedListHeap <T> heap, IEnumerable <T> items) : this(heap)
 {
     foreach (T item in items)
     {
         AddAfter(item);
     }
 }
Esempio n. 2
0
 public LinkedListArray(LinkedListHeap <T> heap)
 {
     this.heap = heap;
     first     = -1;
     last      = -1;
     current   = -1;
     count     = 0;
 }
Esempio n. 3
0
 public LinkedListArraySet(int capacity)
 {
     heap = new LinkedListHeap <T>(capacity);
 }