Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 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 | 5 | 13 | src/NHibernate/Util/ThreadSafeDictionary.cs |
2 | 10 | 19 | src/NHibernate/Util/UnmodifiableDictionary.cs |
| ||||
private readonly IDictionary<TKey, TValue> dictionary; public ThreadSafeDictionary(IDictionary<TKey, TValue> dictionary) { this.dictionary = dictionary; } |
| ||||
private readonly IDictionary<TKey, TValue> dictionary; /// <summary> /// Initializes a new instance of the UnmodifiableDictionary class that contains elements wrapped /// from the specified IDictionary. /// </summary> /// <param name="dictionary">The <see cref="IDictionary{TK,TV}"/> whose elements are wrapped.</param> public UnmodifiableDictionary(IDictionary<TKey, TValue> dictionary) { this.dictionary = dictionary; } |
| |||
private readonly IDictionary<TKey, TValue> dictionary; /// <summary> /// Initializes a new instance of the UnmodifiableDictionary class that contains elements wrapped /// from the specified IDictionary. /// </summary> /// <param name="dictionary">The <see cref="IDictionary{TK,TV}"/> whose elements are wrapped.</param> public [[#variable583fbbc0]](IDictionary<TKey, TValue> dictionary) { this.dictionary = dictionary; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#583fbbc0]] | ThreadSafeDictionary |
1 | 2 | [[#583fbbc0]] | UnmodifiableDictionary |