Example #1
0
 public void AddRange(SingleCollection x)
 {
     for (int i = 0; i < x.Count; ++i)
     {
         Add(x[i]);
     }
 }
Example #2
0
        object ICloneable.Clone()
        {
            SingleCollection c = new SingleCollection();

            c._size = this._size;
            c._data = (T[])_data.Clone();
            return(c);
        }
Example #3
0
 public SingleEnumerator(SingleCollection col)
 {
     temp   = col;
     cursor = -1;
 }
Example #4
0
 public SingleCollection(SingleCollection x)
 {
     _data = new T[x.Count * 2];
     AddRange(x);
 }