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