CloneSet330


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8440.978class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1819
src/NHibernate/Type/DefaultCollectionTypeFactory.cs
2829
src/NHibernate/Type/DefaultCollectionTypeFactory.cs
3839
src/NHibernate/Type/DefaultCollectionTypeFactory.cs
4869
src/NHibernate/Type/DefaultCollectionTypeFactory.cs
Clone Instance
1
Line Count
8
Source Line
19
Source File
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);
                }



Clone Instance
2
Line Count
8
Source Line
29
Source File
src/NHibernate/Type/DefaultCollectionTypeFactory.cs

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



Clone Instance
3
Line Count
8
Source Line
39
Source File
src/NHibernate/Type/DefaultCollectionTypeFactory.cs

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



Clone Instance
4
Line Count
8
Source Line
69
Source File
src/NHibernate/Type/DefaultCollectionTypeFactory.cs

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



Clone AbstractionParameter Count: 4Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#581732c0]]
Bag 
12[[#581732c0]]
List 
13[[#581732c0]]
IdBag 
14[[#581732c0]]
OrderedSet 
21[[#5846fe60]]
GenericBagType 
22[[#5846fe60]]
GenericListType 
23[[#5846fe60]]
GenericIdentifierBagType 
24[[#5846fe60]]
GenericOrderedSetType 
31[[#58173220]]
List 
32[[#58173220]]
IdBag 
33[[#58173220]]
Set 
34[[#58173220]]
Map 
41[[#58173180]]
ListType 
42[[#58173180]]
IdentifierBagType 
43[[#58173180]]
SetType 
44[[#58173180]]
MapType