CloneSet1244


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18210.986class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
118115
src/Iesi.Collections/DictionarySet.cs
218123
src/Iesi.Collections/Generic/DictionarySet.cs
Clone Instance
1
Line Count
18
Source Line
115
Source File
src/Iesi.Collections/DictionarySet.cs

                /// <summary>
                /// Returns <see langword="true" /> if this set contains no elements.
                /// </summary>
                public override bool IsEmpty
                {
                        get { return InternalDictionary.Count == 0;
                            }
                }

                /// <summary>
                /// Removes the specified element from the set.
                /// </summary>
                /// <param name="o">The element to be removed.</param>
                /// <returns><see langword="true" /> if the set contained the specified element, <see langword="false" /> otherwise.</returns>
                public override bool Remove(object o)
                {
                        bool contained = this.Contains(o);
                        if (contained)
                        {
                                InternalDictionary.Remove(o);
                        }
                        return contained;
                }



Clone Instance
2
Line Count
18
Source Line
123
Source File
src/Iesi.Collections/Generic/DictionarySet.cs

                /// <summary>
                /// Returns <see langword="true" /> if this set contains no elements.
                /// </summary>
                public override bool IsEmpty
                {
                        get { return InternalDictionary.Count == 0;
                            }
                }

                /// <summary>
                /// Removes the specified element from the set.
                /// </summary>
                /// <param name="o">The element to be removed.</param>
                /// <returns><see langword="true" /> if the set contained the specified element, <see langword="false" /> otherwise.</returns>
                public override bool Remove(T o)
                {
                        bool contained = this.Contains(o);
                        if (contained)
                        {
                                InternalDictionary.Remove(o);
                        }
                        return contained;
                }



Clone AbstractionParameter Count: 1Parameter Bindings

/// <summary>
/// Returns <see langword="true" /> if this set contains no elements.
/// </summary>
public override bool IsEmpty
{
   get
   {
      return InternalDictionary.Count == 0;
   }
}

/// <summary>
/// Removes the specified element from the set.
/// </summary>
/// <param name="o">The element to be removed.</param>
/// <returns><see langword="true" /> if the set contained the specified element, <see langword="false" /> otherwise.</returns>
public override bool Remove( [[#variable501f8f40]]o)
{
   bool contained = this.Contains(o);
   if (contained)
   {
      InternalDictionary.Remove(o);
   }
   return contained;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#501f8f40]]
T 
12[[#501f8f40]]
object