ArrayList removeRange方法分析

先給出removeRange(int fromIndex,int toIndex)方法的源碼(這段代碼是幹什麼的就不再解釋了,源碼分析一文中已經說明) 1 protected void removeRange(int fromIndex, int toIndex) { 2 modCount++; 3 int numMoved = size - toIndex; 4
相關文章
相關標籤/搜索