A PriorityQueue reference class
Derived from the Queue class.
Initial data to populate the queue.
Numeric queue priorities.
pop(N = 1)
Removes and returns head of queue (or raises error if queue is empty). N is number of items to pop.
Inserts element at back of the queue.
Queue-class for information on base class.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.