The PriorityQueue TValue type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
Clear |
Clear the content of all queues
| |
CopyTo |
Copies queued items into the provided destination array. Highest priority items first descending until
destination is full or there are no remaining items.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToArray |
Returns all queued items as a 1D array. Highest priority items first descending.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryAdd |
Try adding an item to the priority queue.
| |
TryTake(KeyValuePair QueueItemPriority, TValue ) |
Try removing an item from the priority queue
| |
TryTake(QueueItemPriority, KeyValuePair QueueItemPriority, TValue ) |
Try removing an item from the priority queue which has a priority of at least that provided.
|
See Also