PriorityQueuePriority, Value Constructor |
Creates a PriorityQue
Namespace:
VelocityDBExtensions.Spatial
Assembly:
VelocityDBExtensions (in VelocityDBExtensions.dll) Version: 11.1.0.0 (11.1.0)
Syntax public PriorityQueue(
bool sortOrderAscending = true,
int initialCapacity = 25
)
Public Sub New (
Optional sortOrderAscending As Boolean = true,
Optional initialCapacity As Integer = 25
)
public:
PriorityQueue(
bool sortOrderAscending = true,
int initialCapacity = 25
)
new :
?sortOrderAscending : bool *
?initialCapacity : int
(* Defaults:
let _sortOrderAscending = defaultArg sortOrderAscending true
let _initialCapacity = defaultArg initialCapacity 25
*)
-> PriorityQueue
Parameters
- sortOrderAscending (Optional)
- Type: SystemBoolean
order ascending if true otherwise order descending - initialCapacity (Optional)
- Type: SystemInt32
improve performance by setting expected size initially
See Also