PriorityQueue<TElement,TPriority> Class

Definition

generic <typename TElement, typename TPriority>
public ref class PriorityQueue
public class PriorityQueue<TElement,TPriority>
type PriorityQueue<'Element, 'Priority> = class
Public Class PriorityQueue(Of TElement, TPriority)

Type Parameters

TElement
TPriority
Inheritance
PriorityQueue<TElement,TPriority>

Constructors

PriorityQueue<TElement,TPriority>()
PriorityQueue<TElement,TPriority>(IComparer<TPriority>)
PriorityQueue<TElement,TPriority>(IEnumerable<ValueTuple<TElement,TPriority>>)
PriorityQueue<TElement,TPriority>(IEnumerable<ValueTuple<TElement,TPriority>>, IComparer<TPriority>)
PriorityQueue<TElement,TPriority>(Int32)
PriorityQueue<TElement,TPriority>(Int32, IComparer<TPriority>)

Properties

Comparer
Count
UnorderedItems

Methods

Clear()
Dequeue()
Enqueue(TElement, TPriority)
EnqueueDequeue(TElement, TPriority)
EnqueueRange(IEnumerable<TElement>, TPriority)
EnqueueRange(IEnumerable<ValueTuple<TElement,TPriority>>)
EnsureCapacity(Int32)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Peek()
ToString()

Returns a string that represents the current object.

(Inherited from Object)
TrimExcess()
TryDequeue(TElement, TPriority)
TryPeek(TElement, TPriority)

Applies to