/** * 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; }
/** 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; }