| 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.984 | class_member_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 94 | src/NHibernate/Type/DefaultCollectionTypeFactory.cs |
| 2 | 3 | 99 | src/NHibernate/Type/DefaultCollectionTypeFactory.cs |
| ||||
public virtual CollectionType SortedDictionary<TKey, TValue>(string role, string propertyRef, bool embedded, IComparer<TKey> comparer)
{
return new GenericSortedDictionaryType<TKey, TValue> (role, propertyRef, comparer);
}
|
| ||||
public virtual CollectionType SortedList<TKey, TValue>(string role, string propertyRef, bool embedded, IComparer<TKey> comparer)
{
return new GenericSortedListType<TKey, TValue> (role, propertyRef, comparer);
}
|
| |||
public virtual CollectionType [[#variable28c125e0]]<TKey, TValue>(string role, string propertyRef, bool embedded, IComparer<TKey> comparer)
{
return new [[#variable28c12540]]<TKey, TValue> (role, propertyRef, comparer);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#28c125e0]] | SortedList |
| 1 | 2 | [[#28c125e0]] | SortedDictionary |
| 2 | 1 | [[#28c12540]] | GenericSortedListType |
| 2 | 2 | [[#28c12540]] | GenericSortedDictionaryType |