Clone() public method

Creates a deep copy of this roaring array
public Clone ( ) : RoaringArray
return RoaringArray
示例#1
0
        /// <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);
        }