You are here: Home Exercises Additional Material … PriorityQueue.java

PriorityQueue.java

Plain Text icon PriorityQueue.java — Plain Text, 176 bytes

File contents

package ex11;

public interface PriorityQueue {
    
    public void enqueue(Comparable o);
    
    public Comparable removeFirst();
    
    public boolean isEmpty();
    
}