Creates a heap from a comparer used to determine the priority of items in the heap.

Declaration Syntax

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

Parameters

comparer
comparer used to determine the priority of items in the heap. 

Remarks

Items are considered to have higher priority if the have a lower sort order.

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