CloneSet163


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
32240.975class_member_declarations[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13248
src/NHibernate/Util/LinkedHashMap.cs
232109
src/NHibernate/Util/SequencedHashMap.cs
Clone Instance
1
Line Count
32
Source Line
48
Source File
src/NHibernate/Util/LinkedHashMap.cs

                        public Entry Next
                        {
                                get { return next;
                                    }
                                set { next = value;
                                    }
                        }

                        public Entry Prev
                        {
                                get { return prev;
                                    }
                                set { prev = value;
                                    }
                        }

                        #region System.Object Members
                        public override int GetHashCode()
                        {
                                return ((key == null ? 0:  key.GetHashCode()) ^ (evalue == null ? 0:  evalue.GetHashCode()));
                        }

                        public override bool Equals(object obj)
                        {
                                Entry other = obj as Entry;
                                if (other == null) return false;
                                if (other == this ) return true;

                                return ((key == null ? other.Key == null:  key.Equals(other.Key)) &&
                                                                (evalue == null ? other.Value == null:  evalue.Equals(other.Value)));
                        }

                        public override string ToString()
                        {
                                return "[" + key + "=" + evalue + "]";
                        }



Clone Instance
2
Line Count
32
Source Line
109
Source File
src/NHibernate/Util/SequencedHashMap.cs

                        public Entry Next
                        {
                                get { return _next;
                                    }
                                set { _next = value;
                                    }
                        }

                        public Entry Prev
                        {
                                get { return _prev;
                                    }
                                set { _prev = value;
                                    }
                        }

                        #region System.Object Members
                        public override int GetHashCode()
                        {
                                return ((_key == null ? 0:  _key.GetHashCode()) ^ (_value == null ? 0:  _value.GetHashCode()));
                        }

                        public override bool Equals(object obj)
                        {
                                Entry other = obj as Entry;
                                if (other == null) return false;
                                if (other == this ) return true;

                                return ((_key == null ? other.Key == null:  _key.Equals(other.Key)) &&
                                        (_value == null ? other.Value == null:  _value.Equals(other.Value)));
                        }

                        public override string ToString()
                        {
                                return "[" + _key + "=" + _value + "]";
                        }



Clone AbstractionParameter Count: 4Parameter Bindings

public Entry Next
{
   get
   {
      return [[#variable4efc6000]];
   }
   set
   {
       [[#variable4efc6000]]= value;
   }
}

public Entry Prev
{
   get
   {
      return [[#variable4efc6100]];
   }
   set
   {
       [[#variable4efc6100]]= value;
   }
}

#region System.Object Members
public override int GetHashCode()
{
   return (( [[#variable66a17f00]]== null ?
            0: [[#variable66a17f00]].GetHashCode()) ^ ( [[#variable66a17e60]]== null ?
                                                       0: [[#variable66a17e60]].GetHashCode()));
}

public override bool Equals(object obj)
{
   Entry other = obj as Entry;
   if (other == null)
      return false;
   if (other == this )
      return true;
   return (( [[#variable66a17f00]]== null ?
            other.Key == null: [[#variable66a17f00]].Equals(other.Key)) && ( [[#variable66a17e60]]== null ?
                                                                            other.Value == null: [[#variable66a17e60]].Equals(other.Value)));
}

public override string ToString()
{
   return "[" + [[#variable66a17f00]]+ "=" + [[#variable66a17e60]]+ "]";
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4efc6000]]
_next 
12[[#4efc6000]]
next 
21[[#4efc6100]]
_prev 
22[[#4efc6100]]
prev 
31[[#66a17f00]]
_key 
32[[#66a17f00]]
key 
41[[#66a17e60]]
_value 
42[[#66a17e60]]
evalue