package queue; import exceptions.EmptyQueueException; /** * Created with xgiovio.macbookair. * User: xgiovio * Date: 10/03/14 * Time: 15:45 */ public interface Queue { public void enqueue (E element); public E dequeue () throws EmptyQueueException; public E front() throws EmptyQueueException; public boolean isEmpty(); public boolean isFull(); public int size(); }