Method DeleteMax
DeleteMax()
Remove the largest item from this priority queue.
Declaration
T DeleteMax()
Returns
Type | Description |
---|---|
T | The removed item. |
DeleteMax(out IPriorityQueueHandle<T>)
Remove the largest item from this priority queue.
Declaration
T DeleteMax(out IPriorityQueueHandle<T> handle)
Parameters
Type | Name | Description |
---|---|---|
IPriorityQueueHandle<T> | handle | On return: the handle of the removed item. |
Returns
Type | Description |
---|---|
T | The removed item. |