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.974 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 41 | src/NHibernate/Util/IdentityMap.cs |
2 | 3 | 52 | src/NHibernate/Util/IdentityMap.cs |
| ||||
/// <summary> /// Create a new instance of the IdentityMap that has no /// iteration order. /// </summary> /// <returns>A new IdentityMap based on a Hashtable.</returns> public static IDictionary Instantiate(int size) { return new IdentityMap(new Hashtable(size, new IdentityEqualityComparer())); } |
| ||||
/// <summary> /// Create a new instance of the IdentityMap that has an /// iteration order of the order the objects were added /// to the Map. /// </summary> /// <returns>A new IdentityMap based on ListDictionary.</returns> public static IDictionary InstantiateSequenced(int size) { return new IdentityMap(new SequencedHashMap(size, new IdentityEqualityComparer())); } |
| |||
/// <summary> /// Create a new instance of the IdentityMap that has an /// iteration order of the order the objects were added /// to the Map. /// Create a new instance of the IdentityMap that has no /// iteration order. /// </summary> /// <returns>A new IdentityMap based on ListDictionary.</returns> /// <returns>A new IdentityMap based on a Hashtable.</returns> public static IDictionary [[#variable52929dc0]](int size) { return new IdentityMap(new [[#variable52929d80]](size, new IdentityEqualityComparer())); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52929dc0]] | InstantiateSequenced |
1 | 2 | [[#52929dc0]] | Instantiate |
2 | 1 | [[#52929d80]] | SequencedHashMap |
2 | 2 | [[#52929d80]] | Hashtable |