Creates a binary heap from the initial capacity of the heeap.

Declaration Syntax

Public Sub New( _
	ByVal capacity As Integer _
)
public BinaryHeap`1(
	int capacity
);
public: BinaryHeap`1(
	int capacity
);
public function BinaryHeap`1(
	capacity : int
);

Parameters

capacity
The initial capacity of the heap, not the count. 

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.Collections
Assembly: Eas.WebCrawler.Common (eas.webcrawler.common.dll)

See Also

BinaryHeap`1 Class | BinaryHeap`1 Members | Eas.WebCrawler.Common.Collections Namespace