Click or drag to resize

SimplePriorityQueue<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.4.0.0 (1.4.19.0529)
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