EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)> Members
The EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)>(Int32) |
Initializes a new instance of the EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)> class.
|
|
EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)>(IComparer<(Of <<'(TPriority>)>>), Int32) |
Initializes a new instance of the EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)> class with the specified custom priority comparer.
|
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.
|
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of elements contained in the EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)>.
|