Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 4 | 4 | 0.978 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 19 | src/NHibernate/Type/DefaultCollectionTypeFactory.cs |
2 | 8 | 29 | src/NHibernate/Type/DefaultCollectionTypeFactory.cs |
3 | 8 | 39 | src/NHibernate/Type/DefaultCollectionTypeFactory.cs |
4 | 8 | 69 | src/NHibernate/Type/DefaultCollectionTypeFactory.cs |
| ||||
public virtual CollectionType Bag<T>(string role, string propertyRef, bool embedded) { return new GenericBagType<T> (role, propertyRef); } public virtual CollectionType List(string role, string propertyRef, bool embedded) { return new ListType(role, propertyRef, embedded); } |
| ||||
public virtual CollectionType List<T>(string role, string propertyRef, bool embedded) { return new GenericListType<T> (role, propertyRef); } public virtual CollectionType IdBag(string role, string propertyRef, bool embedded) { return new IdentifierBagType(role, propertyRef, embedded); } |
| ||||
public virtual CollectionType IdBag<T>(string role, string propertyRef, bool embedded) { return new GenericIdentifierBagType<T> (role, propertyRef); } public virtual CollectionType Set(string role, string propertyRef, bool embedded) { return new SetType(role, propertyRef, embedded); } |
| ||||
public virtual CollectionType OrderedSet<T>(string role, string propertyRef, bool embedded) { return new GenericOrderedSetType<T> (role, propertyRef); } public virtual CollectionType Map(string role, string propertyRef, bool embedded) { return new MapType(role, propertyRef, embedded); } |
| |||
public virtual CollectionType [[#variable581732c0]]<T>(string role, string propertyRef, bool embedded) { return new [[#variable5846fe60]]<T> (role, propertyRef); } public virtual CollectionType [[#variable58173220]](string role, string propertyRef, bool embedded) { return new [[#variable58173180]](role, propertyRef, embedded); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#581732c0]] | Bag |
1 | 2 | [[#581732c0]] | List |
1 | 3 | [[#581732c0]] | IdBag |
1 | 4 | [[#581732c0]] | OrderedSet |
2 | 1 | [[#5846fe60]] | GenericBagType |
2 | 2 | [[#5846fe60]] | GenericListType |
2 | 3 | [[#5846fe60]] | GenericIdentifierBagType |
2 | 4 | [[#5846fe60]] | GenericOrderedSetType |
3 | 1 | [[#58173220]] | List |
3 | 2 | [[#58173220]] | IdBag |
3 | 3 | [[#58173220]] | Set |
3 | 4 | [[#58173220]] | Map |
4 | 1 | [[#58173180]] | ListType |
4 | 2 | [[#58173180]] | IdentifierBagType |
4 | 3 | [[#58173180]] | SetType |
4 | 4 | [[#58173180]] | MapType |