  | PriorityQueueT(Int32, IComparerT) Constructor | 
            Initializes a new instance of the 
PriorityQueueT class that is empty, 
            has the specified initial capacity, and uses the specified 
IComparerT
            implementation to compare elements.
            
 Namespace: Ookii.JumboAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic PriorityQueue(
	int capacity,
	IComparer<T>? comparer
)
Public Sub New ( 
	capacity As Integer,
	comparer As IComparer(Of T)
)
public:
PriorityQueue(
	int capacity, 
	IComparer<T>^ comparer
)
new : 
        capacity : int * 
        comparer : IComparer<'T> -> PriorityQueueParameters
- capacity  Int32
 - The initial number of elements that the PriorityQueueT can contain.
 - comparer  IComparerT
 - The IComparerT implementation to use when 
            comparing elements, or  to use the default ComparerT
            for the type of element.
 
Exceptions
RemarksPriorityQueueT requires a comparer implementation to perform key
              comparisons. If comparer is , this constructor uses the default
              generic equality comparer, Default. If type T
              implements the IComparableT generic interface, the default comparer
              uses that implementation.
            
              This constructor is an O(n) operation, where n is capacity.
            
See Also