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

The PriorityQueue<(Of <(<'TPriority, TValue>)>)> type exposes the following members.

Constructors

Methods

  NameDescription
Public methodClear
Removes all items from the ICollection<(Of <(<'T>)>)>.
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)
Public methodContains(T)
Determines whether the ICollection<(Of <(<'T>)>)> contains a specific value.
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)
Public methodContains(TValue)
Gets value indicating if collection contains given item
Public methodCopyTo
Copies the elements of the ICollection<(Of <(<'T>)>)> to an Array, starting at a particular Array index.
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Protected methodGetInsertIndex
Gets index where item item is expected to be
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)
Public methodGetItemsWithSamePriority(T)
Gets items that have same priority as given item
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)
Public methodGetItemsWithSamePriority(TPriority)
Gets all the items with given priority
Public methodIEnumerable_GetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)
Public methodIndexOf(T)
Determines the index of a specific item in the IList<(Of <(<'T>)>)>.
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)
Public methodIndexOf(TValue)
Returns index of item in priority queues
Public methodPeek
Gets item on top of priority queue
Public methodPeekPriority
Gets priority of item on top of queue
Public methodPop
Gets item on top of priority queue and removes it from list
Public methodPush(T)
Adds item to collection
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)
Public methodPush(TPriority, TValue)
Adds item to priority queue using its priority
Public methodRemove(T)
Removes the first occurrence of a specific object from the ICollection<(Of <(<'T>)>)>.
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)
Public methodRemove(TValue)
Removes item from queue
Public methodRemoveAt
Removes the IList<(Of <(<'T>)>)> item at the specified index.
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)
Public methodSort
Forces queue to re-sort
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)

Extension Methods

  NameDescription
Public Extension MethodIndexOf<(Of <<'(TValue>)>>)
Gets index of first occurence of given item in given collection
(Defined by EnumerableT.)
Public Extension MethodLast<(Of <<'(TValue>)>>)
Gets last item in collection
(Defined by CollectionTools.)
Public Extension MethodUnionAll<(Of <<'(TValue>)>>)(array<IEnumerable<(Of <<'(TValue>)>>)>[]()[][])Overloaded.
Creates union of given collection with other given collections
(Defined by EnumerableT.)
Public Extension MethodUnionAll<(Of <<'(TValue>)>>)(IEnumerable<(Of <<'(IEnumerable<(Of <<'(TValue>)>>)>)>>))Overloaded.
Creates union of given collection with other given collections
(Defined by EnumerableT.)

Properties

  NameDescription
Public propertyComparer
Comparer used to compare items
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)
Public propertyCount
Gets the number of elements contained in the ICollection<(Of <(<'T>)>)>.
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)
Public propertyItem
Gets value on specified index
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)
Public propertyPeekIndex
Gets index of first item in queue
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)
Public propertyPriorityTarget
Defines which items are poped firts
(Inherited from PriorityQueue<(Of <(<'T>)>)>.)

Explicit Interface Implementations

See Also