Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.972 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 64 | src/NHibernate/Collection/Generic/PersistentGenericIdentifierBag.cs |
2 | 4 | 95 | src/NHibernate/Collection/PersistentIdentifierBag.cs |
| ||||
public override void BeforeInitialize(ICollectionPersister persister, int anticipatedSize) { identifiers = anticipatedSize <= 0 ? new Dictionary<int, object> (): new Dictionary<int, object> (anticipatedSize + 1); InternalValues = anticipatedSize <= 0 ? new List<T> (): new List<T> (anticipatedSize); } |
| ||||
public override void BeforeInitialize(ICollectionPersister persister, int anticipatedSize) { identifiers = anticipatedSize <= 0 ? new Dictionary<int, object> (): new Dictionary<int, object> (anticipatedSize + 1); values = anticipatedSize <= 0 ? new List<object> (): new List<object> (anticipatedSize); } |
| |||
public override void BeforeInitialize(ICollectionPersister persister, int anticipatedSize) { identifiers = anticipatedSize <= 0 ? new Dictionary<int, object> (): new Dictionary<int, object> (anticipatedSize + 1); [[#variable65e68f60]]= anticipatedSize <= 0 ? new List< [[#variable65e68f00]]> (): new List< [[#variable65e68f00]]> (anticipatedSize); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#65e68f60]] | values |
1 | 2 | [[#65e68f60]] | InternalValues |
2 | 1 | [[#65e68f00]] | object |
2 | 2 | [[#65e68f00]] | T |