Click or drag to resize

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)
Syntax
public PriorityQueue(
	int initialCapacity,
	IComparer<E> comparer
)

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
ExceptionCondition
ArgumentOutOfRangeExceptioninitialCapacity is less than 1.
See Also