@@ -0,0 +1,1133 @@
+package jsjf;%0A%0A/**%0A * QueueADT defines the interface to a queue collection.%0A *%0A * @author Java Foundation%0A * @version 4.0%0A */%0Apublic interface QueueADT%3CT%3E%0A%7B%0A    /**  %0A     * Adds one element to the rear of this queue. %0A     * @param element  the element to be added to the rear of the queue  %0A     */%0A    public void enqueue(T element);%0A%0A    /**  %0A     * Removes and returns the element at the front of this queue.%0A     * @return the element at the front of the queue%0A     */%0A    public T dequeue();%0A%0A    /**  %0A     * Returns without removing the element at the front of this queue.%0A     * @return the first element in the queue%0A     */%0A    public T first();%0A   %0A    /**  %0A     * Returns true if this queue contains no elements.%0A     * @return true if this queue is empty%0A     */%0A    public boolean isEmpty();%0A%0A    /**  %0A     * Returns the number of elements in this queue. %0A     * @return the integer representation of the size of the queue%0A     */%0A    public int size();%0A%0A    /**  %0A     * Returns a string representation of this queue. %0A     * @return the string representation of the queue%0A     */%0A    public String toString();%0A%7D%0A

Create QueueADT.java