CloneSet2154


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.977class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13159
src/Iesi.Collections/Generic/Set.cs
23206
src/Iesi.Collections/Generic/Set.cs
Clone Instance
1
Line Count
3
Source Line
159
Source File
src/Iesi.Collections/Generic/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<T> operator & (Set<T> a, Set<T> b)
                {
                        return (Set<T> )Intersect(a, b);
                }



Clone Instance
2
Line Count
3
Source Line
206
Source File
src/Iesi.Collections/Generic/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<T> operator - (Set<T> a, Set<T> b)
                {
                        return (Set<T> )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<T> operator [[#variable6fa56b20]](Set<T> a, Set<T> b)
{
   return (Set<T> ) [[#variable6fa56b40]](a, b);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6fa56b20]]
- 
12[[#6fa56b20]]
& 
21[[#6fa56b40]]
Minus 
22[[#6fa56b40]]
Intersect