示例#1
0
        /// <summary>
        /// Returns a new BitVectorSet which is the union of this BitVectorSet and the <i>otherSet</i>.
        /// </summary>
        /// <param name="otherSet">The set whose union with this set is to be computed.</param>
        /// <returns>The union of this set and the <i>otherSet</i>.</returns>
        public BitVectorSet GetUnionWith(BitVectorSet otherSet)
        {
            BitVectorSet union = new BitVectorSet(this);

            union.UnionWith(otherSet);

            return(union);
        }