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); } }
public virtual void Clear() { _size = 0; Arrays4.Fill(_table, null); }