MaxPQKey Methods |
The MaxPQKey generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | DelMax |
Removes and returns a smallest key on this priority queue. |
![]() | GetEnumerator |
Returns an iterator that iterates over the keys on this priority queue
in ascending order. |
![]() | Insert |
Adds a new key to this priority queue. |
![]() ![]() | MainTest |
Demo test the MaxPQ data type. |
![]() | ToString |
Formatted string for the MaxPQ class
(Overrides ObjectToString.) |