SortedPriorityQueueTElementPeek Method |
Peeks at the first element of the queue (the one with the highest priority, according to the priority comparison) and returns that element
without removing it
Namespace:
SD.Tools.Algorithmia.PriorityQueues
Assembly:
SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.3.3.0 (1.3.18.0209)
Syntax public override TElement Peek()
Public Overrides Function Peek As TElement
Return Value
Type:
TElement
the first element in the queue or the default value for TElement if the queue is empty
See Also