コード例 #1
0
ファイル: SIRJoiner.java プロジェクト: navicella/streamit
 /**
  * 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;
 }
コード例 #2
0
ファイル: SIRFilter.java プロジェクト: navicella/streamit
 /** 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;
 }