public E remove(int index) {
        if (index >= mSize)
            throw new IndexOutOfBoundsException("Index: " + index + ", Size: "
                    + mSize);

        E ret = mElements.remove(index < 0 ? index + mSize : index);
        mSize--;
        return ret;
    }
public E remove ( int index ) { if ( index >= mSize ) throw new IndexOutOfBoundsException ( "Index: " + index + ", Size: " + mSize ) ; E ret = mElements . remove ( index < 0 ? index + mSize : index ) ; mSize -- ; return ret ; }
remove.

@param index
@return element