| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 1 | 0.981 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 267 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/TypeSetIntersection.java |
| 2 | 6 | 76 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/TypeSetUnion.java |
| ||||
/* (non-Javadoc)
* @see java.lang.Object#equals(java.lang.Object)
*/
public boolean equals(Object o) {
if (o instanceof TypeSetIntersection) {
TypeSetIntersection other = (TypeSetIntersection) o;
return other.fLHS.equals(fLHS) && other.fRHS.equals(fRHS);
}
else return false;
}
|
| ||||
/* (non-Javadoc)
* @see java.lang.Object#equals(java.lang.Object)
*/
public boolean equals(Object o) {
if (o instanceof TypeSetUnion) {
TypeSetUnion other = (TypeSetUnion) o;
return other.fLHS.equals(fLHS) && other.fRHS.equals(fRHS);
}
else return false;
}
|
| |||
/* (non-Javadoc)
* @see java.lang.Object#equals(java.lang.Object)
*/
public boolean equals(Object o) {
if (o instanceof [[#variable61049600]]) {
[[#variable61049600]] other = ( [[#variable61049600]]) o;
return other.fLHS.equals(fLHS) && other.fRHS.equals(fRHS);
}
else
return false;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#61049600]] | TypeSetUnion |
| 1 | 2 | [[#61049600]] | TypeSetIntersection |