Exemplo n.º 1
0
 public void IterationCleanup()
 {
     c5_arraylist.Clear();
     while (c5_circularqueue.Count > 0)
     {
         _ = c5_circularqueue.Dequeue();                 // There's no Clear() so we have to do this
     }
     c5_hashbag.Clear();
     c5_hashedarraylist.Clear();
     c5_hashedlinkedlist.Clear();
     c5_hashset.Clear();
     while (c5_intervalheap.Count > 0)
     {
         _ = c5_intervalheap.DeleteMax();                 // There's no Clear() so we have to do this
     }
     c5_linkedlist.Clear();
     c5_sortedarray.Clear();
     c5_treebag.Clear();
     c5_treeset.Clear();
     collectathon_boundedarray.Clear();
     collectathon_dynamicarray.Clear();
     collectathon_singlylinkedlist.Clear();
     msft_hashset.Clear();
     msft_linkedlist.Clear();
     msft_list.Clear();
     msft_queue.Clear();
     msft_segmentedlist.Clear();
     msft_sortedset.Clear();
     msft_stack.Clear();
 }