CloneSet2700


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.970class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13162
src/Iesi.Collections/Set.cs
23209
src/Iesi.Collections/Set.cs
Clone Instance
1
Line Count
3
Source Line
162
Source File
src/Iesi.Collections/Set.cs

                /// <summary>
                /// Performs an "intersection" of the two sets, where only the elements
                /// that are present in both sets remain.  That is, the element is included only if it exists in
                /// both <c>a</c> and <c>b</c>.  Neither input object is modified by the operation.
                /// The result object is a <c>Clone()</c> of one of the input objects (<c>a</c> if it is not <see langword="null" />) containing the
                /// elements from the intersect operation. 
                /// </summary>
                /// <param name="a">A set of elements.</param>
                /// <param name="b">A set of elements.</param>
                /// <returns>The intersection of the two input sets.  <see langword="null" /> if both sets are <see langword="null" />.</returns>
                public static Set operator & (Set a, Set b)
                {
                        return (Set) Intersect(a, b);
                }



Clone Instance
2
Line Count
3
Source Line
209
Source File
src/Iesi.Collections/Set.cs

                /// <summary>
                /// Performs a "minus" of set <c>b</c> from set <c>a</c>.  This returns a set of all
                /// the elements in set <c>a</c>, removing the elements that are also in set <c>b</c>.
                /// The original sets are not modified during this operation.  The result set is a <c>Clone()</c>
                /// of set <c>a</c> containing the elements from the operation. 
                /// </summary>
                /// <param name="a">A set of elements.</param>
                /// <param name="b">A set of elements.</param>
                /// <returns>A set containing <c>A - B</c> elements.  <see langword="null" /> if <c>a</c> is <see langword="null" />.</returns>
                public static Set operator - (Set a, Set b)
                {
                        return (Set) Minus(a, b);
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <summary>
/// Performs a "minus" of set <c>b</c> from set <c>a</c>.  This returns a set of all
/// the elements in set <c>a</c>, removing the elements that are also in set <c>b</c>.
/// The original sets are not modified during this operation.  The result set is a <c>Clone()</c>
/// of set <c>a</c> containing the elements from the operation. 
/// Performs an "intersection" of the two sets, where only the elements
/// that are present in both sets remain.  That is, the element is included only if it exists in
/// both <c>a</c> and <c>b</c>.  Neither input object is modified by the operation.
/// The result object is a <c>Clone()</c> of one of the input objects (<c>a</c> if it is not <see langword="null" />) containing the
/// elements from the intersect operation. 
/// </summary>
/// <param name="a">A set of elements.</param>
/// <param name="b">A set of elements.</param>
/// <returns>A set containing <c>A - B</c> elements.  <see langword="null" /> if <c>a</c> is <see langword="null" />.</returns>
/// <returns>The intersection of the two input sets.  <see langword="null" /> if both sets are <see langword="null" />.</returns>
public static Set operator [[#variable55ae6a60]](Set a, Set b)
{
   return (Set) [[#variable55ae69c0]](a, b);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55ae6a60]]
- 
12[[#55ae6a60]]
& 
21[[#55ae69c0]]
Minus 
22[[#55ae69c0]]
Intersect