FifoQueueTClear Method |
Namespace: DHI.Mike1D.Generic.Collections
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 FifoQueue{T}, call TrimExcess. Trimming an empty FifoQueue{T} sets the capacity of the FifoQueue{T} to the default capacity.
This method is an O(n) operation, where n is Count.