Clone() public method

Creates a deep copy of this roaring array
public Clone ( ) : RoaringArray
return RoaringArray
コード例 #1
0
ファイル: RoaringBitset.cs プロジェクト: wxnt/BitSetsNet
        /// <summary>
        /// Create a new bitset that is a deep copy of this one.
        /// </summary>
        /// <returns>The cloned bitset</returns>
        public IBitset Clone()
        {
            RoaringBitset x = new RoaringBitset();

            x.containers = containers.Clone();
            return(x);
        }