Пример #1
0
 /// <summary>Empties the queue.</summary>
 public virtual void Clear()
 {
     _heap.Clear();
 }
Пример #2
0
 /// <summary>Empties the heap.</summary>
 public override void Clear()
 {
     lock (_heap.SyncRoot) _heap.Clear();
 }