CloneSet2411


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.974class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1341
src/NHibernate/Util/IdentityMap.cs
2352
src/NHibernate/Util/IdentityMap.cs
Clone Instance
1
Line Count
3
Source Line
41
Source File
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()));
                }



Clone Instance
2
Line Count
3
Source Line
52
Source File
src/NHibernate/Util/IdentityMap.cs

                /// <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()));
                }



Clone AbstractionParameter Count: 2Parameter Bindings

/// <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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52929dc0]]
InstantiateSequenced 
12[[#52929dc0]]
Instantiate 
21[[#52929d80]]
SequencedHashMap 
22[[#52929d80]]
Hashtable