PriorityQueueTKey, TValueToArray Method |
Copies the elements of the priority queue to a new array,
sorts it and returns it in priority order.
This is an O(n log(n)) operation
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax public TValue[] ToArray(
bool highestFirst
)
Parameters
- highestFirst
- Type: SystemBoolean
Return Value
Type:
TValueSee Also