Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.950 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 317 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/AreaRenderer.java |
2 | 12 | 350 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/GroupedStackedBarRenderer.java |
| |||||
/** * Tests this instance for equality with an arbitrary object. * * @param obj the object to test (<code>null</code> permitted). * * @return A boolean. */ public boolean equals(Object obj) { if (obj == this ) { return true; } if ( !(obj instanceof AreaRenderer)) { return false; } AreaRenderer that = (AreaRenderer) obj; if ( !this.endType.equals(that.endType)) { return false; } return super.equals(obj); } |
| |||||
/** * Tests this renderer for equality with an arbitrary object. * * @param obj the object (<code>null</code> permitted). * * @return A boolean. */ public boolean equals(Object obj) { if (obj == this ) { return true; } if ( !(obj instanceof GroupedStackedBarRenderer)) { return false; } GroupedStackedBarRenderer that = (GroupedStackedBarRenderer) obj; if ( !this.seriesToGroupMap.equals(that.seriesToGroupMap)) { return false; } return super.equals(obj); } |
| |||
/** * Tests this instance for equality with an arbitrary object. * * @param obj the object to test (<code>null</code> permitted). * * @return A boolean. */ /** * Tests this renderer for equality with an arbitrary object. * * @param obj the object (<code>null</code> permitted). * * @return A boolean. */ public boolean equals(Object obj) { if (obj == this ) { return true; } if ( !(obj instanceof [[#variable18d5c720]])) { return false; } [[#variable18d5c720]] that = ( [[#variable18d5c720]]) obj; if ( !this. [[#variable18d5c6c0]].equals(that. [[#variable18d5c6c0]])) { return false; } return super.equals(obj); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18d5c720]] | AreaRenderer |
1 | 2 | [[#18d5c720]] | GroupedStackedBarRenderer |
2 | 1 | [[#18d5c6c0]] | endType |
2 | 2 | [[#18d5c6c0]] | seriesToGroupMap |