public void removeRange( int start, int end ) { super.removeRange( start, end ); } }
/** * Sets the size of this vector. */ public synchronized void setSize(int newSize) { removeRange(newSize, size()); }
protected synchronized void removeRange(int fromIndex, int toIndex) { if (!_directAccess && isDelayLoad()) { load(); } super.removeRange(fromIndex, toIndex); } }
protected synchronized void removeRange(int fromIndex, int toIndex) { if (!_directAccess && isDelayLoad()) { load(); } super.removeRange(fromIndex, toIndex); } }
protected synchronized void removeRange(int fromIndex, int toIndex) { if (!_directAccess && isDelayLoad()) { load(); } super.removeRange(fromIndex, toIndex); } }
protected synchronized void removeRange(int fromIndex, int toIndex) { if (!_directAccess && isDelayLoad()) { load(); } super.removeRange(fromIndex, toIndex); } }
/** * Removes from this list all of the elements whose index is between fromIndex, * inclusive, and toIndex, exclusive; both indexes can be negative; for * details see {@link #getRealIndex(int)}. * * @param fromIndex * the index to start from, inclusive. * @param toIndex * the index to stop at, exclusive. * @see java.util.Vector#removeRange(int, int) */ @Override public void removeRange(int fromIndex, int toIndex) { int fromIdx = getRealIndex(fromIndex); int toIdx = getRealIndex(toIndex); super.removeRange(fromIdx, toIdx); }
/** * Removes from this list all of the elements whose index is between fromIndex, * inclusive, and toIndex, exclusive; both indexes can be negative; for * details see {@link #getRealIndex(int)}. * * @param fromIndex * the index to start from, inclusive. * @param toIndex * the index to stop at, exclusive. * @see java.util.Vector#removeRange(int, int) */ @Override public void removeRange(int fromIndex, int toIndex) { int fromIdx = getRealIndex(fromIndex); int toIdx = getRealIndex(toIndex); super.removeRange(fromIdx, toIdx); }
@Override protected synchronized void removeRange(int fromIndex, int toIndex) { if (fromIndex == toIndex) { remove(fromIndex); } else { super.removeRange(fromIndex, toIndex); uncacheAll(); if (!isLazyCaching()) { cacheAll(); } } }