Пример #1
0
 public FastList(FastList <T> CopyList)
 {
     innerArray = (T[])CopyList.innerArray.Clone();
     Count      = innerArray.Length;
     Capacity   = innerArray.Length;
 }
Пример #2
0
 public void Enumerate(FastList <T> output)
 {
     output.FastClear();
     output.AddRange(this);
 }
Пример #3
0
 public void CopyTo(FastList <T> target)
 {
     Array.Copy(innerArray, 0, target.innerArray, 0, Count);
     target.Count    = Count;
     target.Capacity = Capacity;
 }