package queue; import exceptions.EmptyQueueException; /** * Created with xgiovio.macbookair. * User: xgiovio * Date: 10/03/14 * Time: 15:45 */ //Copyright (c) 2003 Brown University, Providence, RI //Additional modifications and methods by xgiovio public interface Queue { public void enqueue (E element); public E dequeue () throws EmptyQueueException; public E front() throws EmptyQueueException; public boolean isEmpty(); public int size(); }