 | PriorityQueueTToArray Method |
Namespace: Ookii.JumboAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
SyntaxPublic Function ToArray As T()
public:
array<T>^ ToArray()
member ToArray : unit -> 'T[]
Return Value
TA new array containing elements copied from the
PriorityQueueT.
Remarks 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