public void addAll(DVector v){
  expandFor(size + v.size - 1,0);
  System.arraycopy(v.vector,0,vector,size - v.size,v.size);
}

public void addAll ( DVector v ) { expandFor ( size + v . size - 1 , 0 ) ; System . arraycopy ( v . vector , 0 , vector , size - v . size , v . size ) ; }
adds all the values in the given vector to the end of this vector , expanding its capacity as necessary .
