Click or drag to resize

PriorityQueueTToArray Method

Copies the PriorityQueueT elements to a new array.

Namespace: Ookii.Jumbo
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public T[] ToArray()

Return Value

T
A new array containing elements copied from the PriorityQueueT.
Remarks
Note  Note
The order in which the elements are copied to the array is not guaranteed. The element with the lowest value will be the first element, but otherwise the elements will be in no particular order.

The PriorityQueueT is not modified.

This method is an O(n log n) operation, where n is Count.

See Also