PriorityQueueTPeek Method |
Namespace: Ookii.Collections.Generic
Exception | Condition |
---|---|
InvalidOperationException | The PriorityQueueT is empty. |
This method is similar to the Dequeue 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(1) operation.