Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.987 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 537 | src/Iesi.Collections/Generic/Set.cs |
2 | 9 | 548 | 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); } |
| ||||
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); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6e460820]] | RetainAll |
1 | 2 | [[#6e460820]] | RemoveAll |