Пример #1
0
        public override AListNode <int, T> CopySection(uint index, uint count, AListBase <int, T> list)
        {
            int i1, i2;

            i1 = GetSectionRange(index, count, out i2);

            InternalList <Entry> section = _list.CopySection(i1, i2 - i1);

            AdjustOffsetsStartingAt(0, ref section, -(int)index);
            return(new SparseAListLeaf <T>(_maxNodeSize, section, count));
        }