 | PriorityQueueE Constructor (Int32, IComparerE) |
Constructs a new PriorityQueue instance.
Namespace:
OBCOM.NetSwitchLib.Utils
Assembly:
OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntaxpublic PriorityQueue(
int initialCapacity,
IComparer<E> comparer
)
Public Sub New (
initialCapacity As Integer,
comparer As IComparer(Of E)
)
Parameters
- initialCapacity
- Type: SystemInt32
The initial capacity for this queue.
- comparer
- Type: System.Collections.GenericIComparerE
The comparer used to order elements (can be null).
Exceptions
See Also