| 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 Function ToArray As T()
public:
array<T>^ ToArray()
member ToArray : unit -> 'T[]
Return Value
Type:
TA 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