<xml> </xml>

Better ListView Class Reference |

# PriorityQueue(TPriority,TItem) Class

A queue returning item with highest priority first while removing the item from collection. This implementation differs from System.Collections.SortedList because allows adding items with non-unique priorities.

For a list of all members of this type, see PriorityQueue(TPriority,TItem) Members .

System.Object
PriorityQueue(TPriority,TItem)

public class PriorityQueue<TPriority, TItem> : IEnumerable<T>, IEnumerable
where TPriority : IComparable

#### Generic template parameters

TPriority
  prority measure type
TItem
  item type

#### Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

#### Requirements

Namespace: ComponentOwl.BetterListView.Collections

Assembly: BetterListView (in BetterListView.dll)

#### See Also

PriorityQueue(TPriority,TItem) Members | ComponentOwl.BetterListView.Collections Namespace