public E remove(int index){
rangeCheck(index);
modCount++;
E oldValue =elementData(index);int numMoved = size - index -1;if(numMoved >0)
System.arraycopy(elementData, index
ArrayList集合remove源码remove的源码比较简单,但是有public E remove(int index) { rangeCheck(index); modCount++; E oldValue = elementData(index); int numMoved = size - index - 1; if (numMoved > 0) System.arraycopy(elementData, index+1, el