Declaration Syntax
Public Sub New( _
ByVal capacity As Integer, _
ByVal comparer As IComparer`1 _
)
public BinaryHeap`1(
int capacity,
IComparer`1<T> comparer
);
public: BinaryHeap`1(
int capacity,
IComparer`1 comparer
);
public function BinaryHeap`1(
capacity : int,
comparer : IComparer`1
);
Parameters
- capacity
- The initial capacity of the heap, not the count.
- comparer
- comparer used to determine the priority of items in the heap.
Remarks
capcity is how much space is initally allocated in the heap to store items, not the count of actually stored items.Requirements
Namespace: Eas.WebCrawler.Common.CollectionsAssembly: Eas.WebCrawler.Common (eas.webcrawler.common.dll)