public ObjIdMap(ObjIdMap oldMap){
  this.table=new Entry[oldMap.table.length];
  System.arraycopy(oldMap.table,0,this.table,0,this.table.length);
  this.count=oldMap.count;
  this.threshold=oldMap.threshold;
  this.loadFactor=oldMap.loadFactor;
}

public ObjIdMap ( ObjIdMap oldMap ) { this . table = new Entry [ oldMap . table . length ] ; System . arraycopy ( oldMap . table , 0 , this . table , 0 , this . table . length ) ; this . count = oldMap . count ; this . threshold = oldMap . threshold ; this . loadFactor = oldMap . loadFactor ; }
create a new map which will contain all the contents of the oldmap .
