Class StackWithPriorityQueue<T>
- Namespace
- AlgorithmsSW.PriorityQueue
- Assembly
- AlgorithmsSW.dll
[ExerciseReference(2, 4, 21)]
public class StackWithPriorityQueue<T>
Type Parameters
T
- Inheritance
-
StackWithPriorityQueue<T>
- Inherited Members
- Extension Methods
Constructors
StackWithPriorityQueue(IComparer<T>)
public StackWithPriorityQueue(IComparer<T> comparer)
Parameters
comparer
IComparer<T>
Properties
Count
public int Count { get; }
Property Value
Peek
public T Peek { get; }
Property Value
- T
Methods
Pop()
public T Pop()
Returns
- T
Push(T)
public void Push(T item)
Parameters
item
T