CloneSet1207


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
26230.972namespace_member_declarations
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1264
src/NHibernate/Type/OrderedMapType.cs
2264
src/NHibernate/Type/OrderedSetType.cs
Clone Instance
1
Line Count
26
Source Line
4
Source File
src/NHibernate/Type/OrderedMapType.cs

namespace NHibernate.Type
{
        /// <summary>
        /// A <see cref="MapType" /> implemented using a collection that maintains
        /// the order in which elements are inserted into it.
        /// </summary>
        [Serializable]
        public class OrderedMapType : MapType
        {
                /// <summary>
                /// Initializes a new instance of a <see cref="OrderedMapType"/> class.
                /// </summary>
                /// <param name="role">The role the persistent collection is in.</param>
                /// <param name="propertyRef"></param>
                /// <param name="isEmbeddedInXML"></param>
                public OrderedMapType(string role, string propertyRef, bool isEmbeddedInXML)
                        : base(role, propertyRef, isEmbeddedInXML)
                {
                }

                public override object Instantiate(int anticipatedSize)
                {
                        return new ListDictionary();
                }

        }
}


Clone Instance
2
Line Count
26
Source Line
4
Source File
src/NHibernate/Type/OrderedSetType.cs

namespace NHibernate.Type
{
        /// <summary>
        /// A <see cref="SetType" /> implemented using a collection that maintains
        /// the order in which elements are inserted into it.
        /// </summary>
        [Serializable]
        public class OrderedSetType : SetType
        {
                /// <summary>
                /// Initializes a new instance of a <see cref="OrderedSetType"/> class
                /// </summary>
                /// <param name="role">The role the persistent collection is in.</param>
                /// <param name="propertyRef"></param>
                /// <param name="isEmbeddedInXML"></param>
                public OrderedSetType(string role, string propertyRef, bool isEmbeddedInXML)
                        : base(role, propertyRef, isEmbeddedInXML)
                {
                }

                public override object Instantiate(int anticipatedSize)
                {
                        return new ListSet();
                }

        }
}


Clone AbstractionParameter Count: 3Parameter Bindings

namespace NHibernate.Type
{
   /// <summary>
   /// A <see cref="MapType" /> implemented using a collection that maintains
   /// A <see cref="SetType" /> implemented using a collection that maintains
   /// the order in which elements are inserted into it.
   /// </summary>
   [Serializable]
   public class [[#variable554588e0]]: [[#variable554588c0]]
   {
      /// <summary>
      /// Initializes a new instance of a <see cref="OrderedMapType"/> class.
      /// Initializes a new instance of a <see cref="OrderedSetType"/> class
      /// </summary>
      /// <param name="role">The role the persistent collection is in.</param>
      /// <param name="propertyRef"></param>
      /// <param name="isEmbeddedInXML"></param>
      public [[#variable554588e0]](string role, string propertyRef, bool isEmbeddedInXML): base(role, propertyRef, isEmbeddedInXML)
      {
      }

      public override object Instantiate(int anticipatedSize)
      {
         return new [[#variable55458880]]();
      }

   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#554588e0]]
OrderedMapType 
12[[#554588e0]]
OrderedSetType 
21[[#554588c0]]
MapType 
22[[#554588c0]]
SetType 
31[[#55458880]]
ListDictionary 
32[[#55458880]]
ListSet