Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.963 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 244 | src/Iesi.Collections/Generic/DictionarySet.cs |
2 | 3 | 251 | src/Iesi.Collections/Generic/ImmutableSet.cs |
| ||||
/// <summary> /// Copies the elements in the <c>Set</c> to an array. The type of array needs /// to be compatible with the objects in the <c>Set</c>, obviously. Needed for /// non-generic ISet methods implementation /// </summary> /// <param name="array">An array that will be the target of the copy operation.</param> /// <param name="index">The zero-based index where copying will start.</param> protected override void NonGenericCopyTo(Array array, int index) { ((ICollection) InternalDictionary.Keys).CopyTo(array, index); } |
| ||||
/// <summary> /// Performs CopyTo when called trhough non-generic ISet (ICollection) interface /// </summary> /// <param name="array"></param> /// <param name="index"></param> protected override void NonGenericCopyTo(Array array, int index) { ((ICollection) this.BasisSet).CopyTo(array, index); } |
| |||
/// <summary> /// Copies the elements in the <c>Set</c> to an array. The type of array needs /// to be compatible with the objects in the <c>Set</c>, obviously. Needed for /// non-generic ISet methods implementation /// Performs CopyTo when called trhough non-generic ISet (ICollection) interface /// </summary> /// <param name="array">An array that will be the target of the copy operation.</param> /// <param name="index">The zero-based index where copying will start.</param> /// <param name="array"></param> /// <param name="index"></param> protected override void NonGenericCopyTo(Array array, int index) { ((ICollection) [[#variable6fd54ec0]]. [[#variable6fd54e40]]).CopyTo(array, index); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6fd54ec0]] | InternalDictionary |
1 | 2 | [[#6fd54ec0]] | this |
2 | 1 | [[#6fd54e40]] | Keys |
2 | 2 | [[#6fd54e40]] | BasisSet |