com.onlineobject.objectnet Namespace

EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)> Methods

The EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)> type exposes the following members.

Methods


  Name Description
Public method Clear
Public method Dequeue
Removes and returns the lowest priority element.
Public method Enqueue
Adds the specified element and associated priority to the EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)>.
Public method Peek
Returns the lowest priority element.
Public method PeekPriority
Returns the priority of the lowest priority element.
Public method 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.