Click or drag to resize

PriorityQueueTDequeue Method

Removes and return the element with the lowest value from the PriorityQueueT.

Namespace: Ookii.Jumbo
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public T Dequeue()

Return Value

T
The object with the lowest value that was removed from the PriorityQueueT.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe PriorityQueueT is empty.
Remarks

This method is similar to the Peek method, but Peek does not modify the PriorityQueueT.

If type T is a reference type, can be added to the PriorityQueueT as a value.

This method is an O(log n) operation, where n is Count.

See Also