Method Dequeue
View SourceDequeue()
Removes and returns the minimal element from the UpdatablePriorityQueue<TElement, TPriority>.
Declaration
public TElement Dequeue()
Returns
Type | Description |
---|---|
TElement | The minimal element of the UpdatablePriorityQueue<TElement, TPriority>. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The queue is empty. |