| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 4 | 3 | 0.964 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 180 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/TypeSetIntersection.java |
| 2 | 2 | 183 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/TypeSetIntersection.java |
| 3 | 2 | 186 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/TypeSetIntersection.java |
| 4 | 2 | 189 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/TypeSetIntersection.java |
| ||||
//
// The following should use a "quick equals()" guaranteed to be constant-time
//
// xsect(xsect(A,B),xsect(A,C)) = xsect(xsect(A,B),C)
if (fLHS.equals(x2.fLHS))
return new TypeSetIntersection(this, x2.fRHS);
|
| ||||
// xsect(xsect(A,B),xsect(C,A)) = xsect(xsect(A,B),C)
if (fLHS.equals(x2.fRHS))
return new TypeSetIntersection(this, x2.fLHS);
|
| ||||
// xsect(xsect(A,B),xsect(B,C)) = xsect(xsect(A,B),C)
if (fRHS.equals(x2.fLHS))
return new TypeSetIntersection(this, x2.fRHS);
|
| ||||
// xsect(xsect(A,B),xsect(C,B)) = xsect(xsect(A,B),C)
if (fRHS.equals(x2.fRHS))
return new TypeSetIntersection(this, x2.fLHS);
|
| |||
// // The following should use a "quick equals()" guaranteed to be constant-time // // xsect(xsect(A,B),xsect(A,C)) = xsect(xsect(A,B),C) // xsect(xsect(A,B),xsect(C,A)) = xsect(xsect(A,B),C) // xsect(xsect(A,B),xsect(B,C)) = xsect(xsect(A,B),C) // xsect(xsect(A,B),xsect(C,B)) = xsect(xsect(A,B),C) if ( [[#variablea4ee1ca0]].equals(x2. [[#variablea4ee1900]])) return new TypeSetIntersection(this, x2. [[#variablea4ee1d40]]); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#a4ee1ca0]] | fLHS |
| 1 | 2 | [[#a4ee1ca0]] | fLHS |
| 1 | 3 | [[#a4ee1ca0]] | fRHS |
| 1 | 4 | [[#a4ee1ca0]] | fRHS |
| 2 | 1 | [[#a4ee1900]] | fLHS |
| 2 | 2 | [[#a4ee1900]] | fRHS |
| 2 | 3 | [[#a4ee1900]] | fLHS |
| 2 | 4 | [[#a4ee1900]] | fRHS |
| 3 | 1 | [[#a4ee1d40]] | fRHS |
| 3 | 2 | [[#a4ee1d40]] | fLHS |
| 3 | 3 | [[#a4ee1d40]] | fRHS |
| 3 | 4 | [[#a4ee1d40]] | fLHS |