PriorityQueueTClear Method |
Namespace: Ookii.Jumbo
Count is set to zero, and references to other objects from elements of the collection are also released.
The capacity remains unchanged. To reset the capacity of the PriorityQueueT, call TrimExcess. Trimming an empty PriorityQueueT sets the capacity of the PriorityQueueT to the default capacity.
This method is an O(n) operation, where n is Count.