Class PriorityQueue<TValue>
Inheritance
System.Object
PriorityQueue<TValue>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: OpenSilver.dll
Syntax
public class PriorityQueue<TValue>
Type Parameters
Constructors
|
Improve this Doc
View Source
PriorityQueue(Int32)
Declaration
public PriorityQueue(int maxPriority)
Parameters
Type |
Name |
Description |
System.Int32 |
maxPriority |
|
Properties
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Dequeue()
Declaration
Returns
|
Improve this Doc
View Source
Enqueue(Int32, TValue)
Declaration
public void Enqueue(int priority, TValue value)
Parameters
Type |
Name |
Description |
System.Int32 |
priority |
|
TValue |
value |
|
|
Improve this Doc
View Source
Peek()
Declaration
Returns
|
Improve this Doc
View Source
TryDequeue(out TValue)
Declaration
public bool TryDequeue(out TValue value)
Parameters
Type |
Name |
Description |
TValue |
value |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryPeek(out TValue)
Declaration
public bool TryPeek(out TValue value)
Parameters
Type |
Name |
Description |
TValue |
value |
|
Returns
Type |
Description |
System.Boolean |
|