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

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

        // move pointer
        nextLast = index;

        // Check usage factor.
        resize();

        return returnValue;

    }
/**  Removes and returns the item at the back of the deque.
     *   If no such item exists, returns null.
     *
     *   Args:
     *       None
     *
     *   Returns:
     *       Last item in Circular ArrayDeque or null
     * */
Removes and returns the item at the back of the deque.
If no such item exists, returns null.

None

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