Пример #1
0
        /// <summary>
        /// Make a shallow copy of this SortedArray.
        /// </summary>
        /// <returns></returns>
        public virtual object Clone()
        {
            SortedArray <T> clone = new SortedArray <T>(Size, _comparer, ItemEqualityComparer);

            clone.AddSorted(this);
            return(clone);
        }