示例#1
0
 public static void Sort(ISequence4 sequence, IComparison4 comparator)
 {
     object[] array = sequence.ToArray();
     Arrays4.Sort(array, comparator);
     sequence.Clear();
     for (int oIndex = 0; oIndex < array.Length; ++oIndex)
     {
         object o = array[oIndex];
         sequence.Add(o);
     }
 }
示例#2
0
 public virtual void Clear()
 {
     _size = 0;
     Arrays4.Fill(_table, null);
 }