Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 2 | 0.959 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 47 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesSet.java |
2 | 11 | 211 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SuperTypesSet.java |
| ||||
/* (non-Javadoc) * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object o) { if (o instanceof SubTypesSet) { SubTypesSet other = (SubTypesSet) o; return other.fUpperBounds.equals(fUpperBounds); // } else if (o instanceof TypeSet) { // TypeSet other= (TypeSet) o; // if (other.isUniverse() && isUniverse()) // return true; // return enumerate().equals(other.enumerate()); } else return false; } |
| ||||
/* (non-Javadoc) * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object o) { if (o instanceof SuperTypesSet) { SuperTypesSet other = (SuperTypesSet) o; return other.fLowerBounds.equals(fLowerBounds); // } else if (o instanceof TypeSet) { // TypeSet other= (TypeSet) o; // if (other.isUniverse() && isUniverse()) // return true; // return enumerate().equals(other.enumerate()); } else return false; } |
| |||
/* (non-Javadoc) * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object o) { if (o instanceof [[#variable90106aa0]]) { [[#variable90106aa0]] other = ( [[#variable90106aa0]]) o; return other. [[#variable90106a20]].equals( [[#variable90106a20]]); // } else if (o instanceof TypeSet) { // TypeSet other= (TypeSet) o; // if (other.isUniverse() && isUniverse()) // return true; // return enumerate().equals(other.enumerate()); } else return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#90106aa0]] | SuperTypesSet |
1 | 2 | [[#90106aa0]] | SubTypesSet |
2 | 1 | [[#90106a20]] | fLowerBounds |
2 | 2 | [[#90106a20]] | fUpperBounds |