code: public void assign(AbstractIntDoubleMap other) {
  	clear();
  	other.forEachPair(
  		new IntDoubleProcedure() {
  			public boolean apply(int key, double value) {
  				put(key,value);
  				return true;
  			}
  		}
  	);
  }
docs: Clears the receiver, then adds all (key,value) pairs of <tt>other</tt>values to it.
  
  @param other the other map to be copied into the receiver.