/// <summary> /// Returns either a deep or shallow copy, depending on the <c>deepCopy</c> field. /// </summary> new public BigData Clone() { BigData d = new BigData(); d.CopyFrom(this); return(d); }
/// <summary> /// Copies from another data array, either with a deep or shallow copy, depending on the /// <c>deepCopy</c> field. /// </summary> public void CopyFrom(BigData d) { base.CopyFrom(d); if (!d.deepCopy) { data = d.data; n = d.n; } }
/// <summary> /// Returns either a deep or shallow copy, depending on the <c>deepCopy</c> field. /// </summary> new public BigData Clone() { BigData d = new BigData(); d.CopyFrom(this); return d; }