code: public void replaceFromWith(int from, java.util.Collection other) {
  	checkRange(from,size);
  	java.util.Iterator e = other.iterator();
  	int index=from;
  	int limit = Math.min(size-from, other.size());
  	for (int i=0; i<limit; i++)
  	    elements[index++] = e.next(); //delta
  }
docs: Replaces the part of the receiver starting at <code>from</code> (inclusive) with all the elements of the specified collection.
  Does not alter the size of the receiver.
  Replaces exactly <tt>Math.max(0,Math.min(size()-from, other.size()))</tt> elements.
  
  @param from the index at which to copy the first element from the specified collection.
  @param other Collection to replace part of the receiver
  @exception IndexOutOfBoundsException index is out of range (index &lt; 0 || index &gt;= size()).