Ejemplo n.º 1
0
 /**
  * Clones all fields of this into
  *
  * <pre>other</pre>
  */
 protected void deepCloneInto(at.dms.kjc.sir.SIRJoiner other) {
   super.deepCloneInto(other);
   other.type = (at.dms.kjc.sir.SIRJoinType) at.dms.kjc.AutoCloner.cloneToplevel(this.type);
   other.weights = (at.dms.kjc.JExpression[]) at.dms.kjc.AutoCloner.cloneToplevel(this.weights);
   other.uniform = this.uniform;
   other.oldSumWeights = this.oldSumWeights;
 }
Ejemplo n.º 2
0
 /** Returns a deep clone of this object. */
 public Object deepClone() {
   at.dms.kjc.sir.SIRFilter other = new at.dms.kjc.sir.SIRFilter();
   at.dms.kjc.AutoCloner.register(this, other);
   deepCloneInto(other);
   return other;
 }