proj/proj1b/ArrayDeque.java
@Override
    public Item removeFirst() {

        int index = rmpointerFirst(nextFirst);
        Item returnValue = Array[index];
        Array[index] = null;
        size -= 1;
        usage = (float) size / (float) Array.length;

        // move pointer
        nextFirst = index;

        // Check usage factor.
        resize();

        return returnValue;
    }
/**  Removes and returns the item at the front of the deque.
     *   If no such item exists, returns null.
     *
     *   Args:
     *       None
     *
     *   Returns:
     *       First item in Circular ArrayDeque or null.
     * */
Removes and returns the item at the front of the deque.
If no such item exists, returns null.

None

First item in Circular ArrayDeque or null.
Removes and returns the item at the front of the deque . If no such item exists returns null . None First item in Circular ArrayDeque or null .
@Override
    public Item removeFirst() {
        int index = rmpointerFirst(nextFirst);
        Item returnValue = Array[index];
        Array[index] = null;
        size -= 1;
        usage = (float) size / (float) Array.length;
        nextFirst = index;
        resize();
        return returnValue;
    }
@ Override public Item removeFirst ( ) { int index = rmpointerFirst ( nextFirst ) ; Item returnValue = Array [ index ] ; Array [ index ] = null ; size -= 1 ; usage = ( float ) size / ( float ) Array . length ; nextFirst = index ; resize ( ) ; return returnValue ; }
Removes and returns the item at the front of the deque.
Removes and returns the item at the front of the deque .
// move pointer // Check usage factor.