예제 #1
0
        /// <summary>
        /// Returns union of two sets.
        /// </summary>
        public static Set Union(Set a, Set b)
        {
            a.CheckComparer(b);
            Set result = new Set(a.Comparer);

            SetOp.Union(a, b, a.Comparer, new Inserter(result));
            return(result);
        }
예제 #2
0
파일: Set.cs 프로젝트: Joy011024/PickUpData
        public static Set Union(Set a, Set b)
        {
            a.CheckComparer(b);
            Set collection = new Set(a.Comparer);

            SetOp.Union(a, b, a.Comparer, new Inserter(collection));
            return(collection);
        }