[This is preliminary documentation and is subject to change.]

Priority queue based on comparer

Namespace: Tools.CollectionsT.GenericT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public class PriorityQueue<T> : IList<T>, 
	IAddableIndexable<T, int>
Visual Basic
Public Class PriorityQueue(Of T) _
	Implements IList(Of T), IAddableIndexable(Of T, Integer)
Visual C++
generic<typename T>
public ref class PriorityQueue : IList<T>, 
	IAddableIndexable<T, int>
F#
type PriorityQueue<'T> =  
    class
        interface IList<'T>
        interface IAddableIndexable<'T, int>
    end
JScript
JScript does not support generic types or methods.

Type Parameters

T
Type of item in queue

Remarks

Can be also used as sorted list.

Note: When sorting value property used by comparer changes, list is not re-sorted manually.

Inheritance Hierarchy

System..::..Object
  Tools.CollectionsT.GenericT..::..PriorityQueue<(Of <(<'T>)>)>
    Tools.CollectionsT.GenericT..::..PriorityQueue<(Of <(<'TPriority, TValue>)>)>

See Also

Collapse/expand Version History

1.5.2

  • (Nightly) Class introduced