Property Top
Top
Returns the least element of the PriorityQueue<T> in constant time.
Returns null
if the queue is empty.
Declaration
public T Top { get; }
Property Value
Type | Description |
---|---|
T |
Returns the least element of the PriorityQueue<T> in constant time.
Returns null
if the queue is empty.
public T Top { get; }
Type | Description |
---|---|
T |