UNB/ CS/ David Bremner/ teaching/ cs1083/ java/ Queue.java
public interface Queue<T>{
    // accessor methods
    public int size();
    public boolean isEmpty();
    public T front()
        throws QueueEmptyException;
    // update methods
    public void enqueue (T element)
        throws QueueFullException;
    public T dequeue()
        throws QueueEmptyException;
}
//