Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.978 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 102 | src/Iesi.Collections/DictionarySet.cs |
2 | 8 | 48 | src/NHibernate/Util/IdentitySet.cs |
| ||||
/// <summary> /// Returns <see langword="true" /> if the set contains all the elements in the specified collection. /// </summary> /// <param name="c">A collection of objects.</param> /// <returns><see langword="true" /> if the set contains all the elements in the specified collection, <see langword="false" /> otherwise.</returns> public override bool ContainsAll(ICollection c) { foreach (object o in c) { if ( !this.Contains(o)) return false; } return true; } |
| ||||
public override bool ContainsAll(ICollection c) { foreach (object o in c) { if ( !map.Contains(o)) return false; } return true; } |
| |||
/// <summary> /// Returns <see langword="true" /> if the set contains all the elements in the specified collection. /// </summary> /// <param name="c">A collection of objects.</param> /// <returns><see langword="true" /> if the set contains all the elements in the specified collection, <see langword="false" /> otherwise.</returns> public override bool ContainsAll(ICollection c) { foreach (object o in c) { if ( ! [[#variable54141120]].Contains(o)) return false; } return true; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54141120]] | this |
1 | 2 | [[#54141120]] | map |