Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 4 | 2 | 0.972 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 78 | src/NHibernate/Collection/PersistentBag.cs |
2 | 3 | 96 | src/NHibernate/Collection/PersistentList.cs |
3 | 3 | 91 | src/NHibernate/Collection/PersistentMap.cs |
4 | 3 | 229 | src/NHibernate/Collection/PersistentSet.cs |
| ||||
public override void BeforeInitialize(ICollectionPersister persister, int anticipatedSize) { bag = (IList) persister.CollectionType.Instantiate(anticipatedSize); } |
| ||||
public override void BeforeInitialize(ICollectionPersister persister, int anticipatedSize) { list = (IList) persister.CollectionType.Instantiate(anticipatedSize); } |
| ||||
public override void BeforeInitialize(ICollectionPersister persister, int anticipatedSize) { map = (IDictionary) persister.CollectionType.Instantiate(anticipatedSize); } |
| ||||
public override void BeforeInitialize(ICollectionPersister persister, int anticipatedSize) { set = (ISet) persister.CollectionType.Instantiate(anticipatedSize); } |
| |||
public override void BeforeInitialize(ICollectionPersister persister, int anticipatedSize) { [[#variable4facfb60]]= ( [[#variable4facfa60]])persister.CollectionType.Instantiate(anticipatedSize); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4facfb60]] | bag |
1 | 2 | [[#4facfb60]] | list |
1 | 3 | [[#4facfb60]] | map |
1 | 4 | [[#4facfb60]] | set |
2 | 1 | [[#4facfa60]] | IList |
2 | 2 | [[#4facfa60]] | IList |
2 | 3 | [[#4facfa60]] | IDictionary |
2 | 4 | [[#4facfa60]] | ISet |