protected void storeReference(int refId,Object newRef){
  refMap.put(Integer.valueOf(refId),newRef);
}

protected void storeReference ( int refId , Object newRef ) { refMap . put ( Integer . valueOf ( refId ) , newRef ) ; }
replace a referenced object with another one . this is used by the amf3 deserializer to handle circular references .
