Click or drag to resize

PriorityQueueT Constructor

Namespace:  Ookii.Collections.Generic
Assembly:  Ookii.Collections.Generic (in Ookii.Collections.Generic.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public PriorityQueue()
Remarks

PriorityQueueT requires a comparer implementation to perform key comparisons. This constructor uses the default generic equality comparer, Default. If type T implements the IComparableT generic interface, the default comparer uses that implementation. Alternatively, you can specify an implementation of the IComparerT generic interface by using a constructor that accepts a comparer parameter.

This constructor is an O(1) operation.

See Also