EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)> Methods
The EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)> type exposes the following members.
Methods
Name | Description | |
---|---|---|
Clear |
Removes all elements from the EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)>.
|
|
Dequeue |
Removes and returns the lowest priority element.
|
|
Enqueue |
Adds the specified element and associated priority to the EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)>.
|
|
Peek |
Returns the lowest priority element.
|
|
PeekPriority |
Returns the priority of the lowest priority element.
|
|
TryDequeue |
Removes the lowest priority element from the EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)> and copies it and its associated priority to the element and priority arguments.
|