Exemple #1
0
 public QueuePriority(IList <T> collection)
 {
     SortingStrategy = new HeapSorting();
     SortingStrategy.BuildMaxHeap(collection);
     Collection = new List <T>(collection);
 }