Click or drag to resize

PriorityQueueTToArray Method

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

Return Value

Type: 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