Constructs a binary heap from an initial collection of items and a comparer used to determine the priority of items.

Declaration Syntax

Public Sub New( _
	ByVal collection As IEnumerable`1, _
	ByVal comparer As IComparer`1 _
)
public BinaryHeap`1(
	IEnumerable`1<T> collection,
	IComparer`1<T> comparer
);
public: BinaryHeap`1(
	IEnumerable`1 collection,
	IComparer`1 comparer
);
public function BinaryHeap`1(
	collection : IEnumerable`1,
	comparer : IComparer`1
);

Parameters

collection
The initial collection of items used to populate the heap. 
comparer
comparer used to determine the priority of items in the heap. 

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