Click or drag to resize

PriorityQueueTPeek Method

Namespace:  Ookii.Jumbo
Assembly:  Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax
public T Peek()

Return Value

Type: T
The object with the lowest value in the PriorityQueueT.
Exceptions
Remarks

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.

See Also