code: public void removeFromTo(int from, int to) {
  	checkRangeFromTo(from, to, size);
  	int numMoved = size - to - 1;
  	if (numMoved >= 0) {
  		System.arraycopy(elements, to+1, elements, from, numMoved);
  		fillFromToWith(from+numMoved, size-1, null); //delta
  	}
  	int width = to-from+1;
  	if (width>0) size -= width;
  }
docs: Removes from the receiver all elements whose index is between
  <code>from</code>, inclusive and <code>to</code>, inclusive.  Shifts any succeeding
  elements to the left (reduces their index).
  This call shortens the list by <tt>(to - from + 1)</tt> elements.
  
  @param from index of first element to be removed.
  @param to index of last element to be removed.
  @exception IndexOutOfBoundsException index is out of range (<tt>size()&gt;0 && (from&lt;0 || from&gt;to || to&gt;=size())</tt>).