Inheritance
System.Object
PriorityQueue<T>
public class PriorityQueue<T>
where T : IComparable<T>
Type Parameters
Constructors
Declaration
Properties
Declaration
public int count { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Declaration
Returns
Declaration
public void enqueue(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Declaration
public bool isConsistent()
Returns
Type |
Description |
System.Boolean |
|
Declaration
Returns
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()