Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
32 | 2 | 4 | 0.975 | class_member_declarations[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 32 | 48 | src/NHibernate/Util/LinkedHashMap.cs |
2 | 32 | 109 | 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()) ^ (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 + "]"; } |
| ||||
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 + "]"; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4efc6000]] | _next |
1 | 2 | [[#4efc6000]] | next |
2 | 1 | [[#4efc6100]] | _prev |
2 | 2 | [[#4efc6100]] | prev |
3 | 1 | [[#66a17f00]] | _key |
3 | 2 | [[#66a17f00]] | key |
4 | 1 | [[#66a17e60]] | _value |
4 | 2 | [[#66a17e60]] | evalue |