proj/proj1b/ArrayDeque.java
private int rmpointerFirst(int nextFirst) {
        if (nextFirst != Array.length - 1) {
            nextFirst += 1;
        } else {
            nextFirst = 0;
        }
        return nextFirst;
    }
/**  private helper function.
     *
     *   move First pointer when removing element.
     * */
private helper function.
move First pointer when removing element.
private helper function . move First pointer when removing element .
private int rmpointerFirst(int nextFirst) {
        if (nextFirst != Array.length - 1) {
            nextFirst += 1;
        } else {
            nextFirst = 0;
        }
        return nextFirst;
    }
private int rmpointerFirst ( int nextFirst ) { if ( nextFirst != Array . length - 1 ) { nextFirst += 1 ; } else { nextFirst = 0 ; } return nextFirst ; }
private helper function.
private helper function .