Click or drag to resize
SortedPriorityQueue<TElement>.Peek 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.0.0 (1.3.17.0314)
Syntax
public override TElement Peek()

Return Value

Type: TElement
the first element in the queue or the default value for TElement if the queue is empty
See Also