CloneSet1066


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.987class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19537
src/Iesi.Collections/Generic/Set.cs
29548
src/Iesi.Collections/Generic/Set.cs
Clone Instance
1
Line Count
9
Source Line
537
Source File
src/Iesi.Collections/Generic/Set.cs

                bool ISet.RemoveAll(ICollection c)
                {
                        ICollection<T> col = new List<T> (c.Count);
                        foreach (object o in c)
                        {
                                if (o is T)
                                        col.Add((T) o);
                        }
                        return this.RemoveAll(col);
                }



Clone Instance
2
Line Count
9
Source Line
548
Source File
src/Iesi.Collections/Generic/Set.cs

                bool ISet.RetainAll(ICollection c)
                {
                        ICollection<T> col = new List<T> (c.Count);
                        foreach (object o in c)
                        {
                                if (o is T)
                                        col.Add((T) o);
                        }
                        return this.RetainAll(col);
                }



Clone AbstractionParameter Count: 1Parameter Bindings

bool ISet. [[#variable6e460820]](ICollection c)
{
   ICollection<T> col = new List<T> (c.Count);
   foreach (object o in c)
   {
      if (o is T)
         col.Add((T)o);
   }
   return this. [[#variable6e460820]](col);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6e460820]]
RetainAll 
12[[#6e460820]]
RemoveAll