<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">// PriorityQueueInterface.java

// A heap being used as a priority queue should inplement this interface

import Heapable;

interface PriorityQueueInterface {
    //Max number of elements in Heap 
    public void setMaxHeapSize(int size);//must be set before use
    public void insert(Heapable h);   //Inserts element in Heap if size allows
    public Heapable min();          //Returns top element of Heap
    public Heapable extractMin();   //Removes Min from heap
}







</pre></body></html>