Dev2.Data.Binary_Objects.ReverseIndexIterator.Clone C# (CSharp) Method

Clone() public method

public Clone ( ) : IIndexIterator
return IIndexIterator
        public IIndexIterator Clone()
        {
            HashSet<int> gaps = new HashSet<int>();
            foreach(int g in IndexList.Gaps)
            {
                gaps.Add(g);
            }
            return new IndexIterator(gaps, IndexList.MaxValue);
        }
    }