Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
18 | 2 | 1 | 0.986 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 115 | src/Iesi.Collections/DictionarySet.cs |
2 | 18 | 123 | 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(object o) { bool contained = this.Contains(o); if (contained) { InternalDictionary.Remove(o); } return contained; } |
| ||||
/// <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; } |
| |||
/// <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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#501f8f40]] | T |
1 | 2 | [[#501f8f40]] | object |