/// <summary> /// 属性的个数 /// </summary> /// <param name="size"> </param> public FloatNumberPropertyObject(int size, int propertyType) { this.props = new FloatNumberPropertyArray(size); this.propertyType = propertyType; }
public FloatNumberPropertyArray(FloatNumberPropertyArray set) : base(set.size()) { values = new float[set.size()]; Array.Copy(set.values, 0, values, 0, values.Length); this.bitSet.set(0, values.Length, true); }
/// <summary> /// 从指定的数值对象src拷贝数据到本实例 /// </summary> /// <param name="src"> 数据的来�? </param> public void copyFrom(FloatNumberPropertyArray src) { Array.Copy(src.values, 0, values, 0, values.Length); this.bitSet.set(0, values.Length, true); }
public FloatNumberPropertyArray clone() { FloatNumberPropertyArray newGuy = new FloatNumberPropertyArray(this); return newGuy; }