Click or drag to resize

PriorityQueueTToArray Method

Namespace:  Ookii.Collections.Generic
Assembly:  Ookii.Collections.Generic (in Ookii.Collections.Generic.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public T[] ToArray()

Return Value

Type: T
A new array containing elements copied from the PriorityQueueT.
Remarks

The elements are copied to the Array in the same order in which the enumerator iterates through the PriorityQueueT.

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

See Also