Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.964 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 238 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/ArcDialFrame.java |
2 | 6 | 265 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/ArcDialFrame.java |
| |||||
/** * Sets the inner radius and sends a {@link DialLayerChangeEvent} to * all registered listeners. * * @param radius the inner radius. * * @see #getInnerRadius() */ public void setInnerRadius(double radius) { if (radius < 0.0) { throw new IllegalArgumentException("Negative \'radius\' argument."); } this.innerRadius = radius; notifyListeners(new DialLayerChangeEvent(this )); } |
| |||||
/** * Sets the outer radius and sends a {@link DialLayerChangeEvent} to * all registered listeners. * * @param radius the outer radius. * * @see #getOuterRadius() */ public void setOuterRadius(double radius) { if (radius < 0.0) { throw new IllegalArgumentException("Negative \'radius\' argument."); } this.outerRadius = radius; notifyListeners(new DialLayerChangeEvent(this )); } |
| |||
/** * Sets the outer radius and sends a {@link DialLayerChangeEvent} to * all registered listeners. * * @param radius the outer radius. * * @see #getOuterRadius() */ /** * Sets the inner radius and sends a {@link DialLayerChangeEvent} to * all registered listeners. * * @param radius the inner radius. * * @see #getInnerRadius() */ public void [[#variable18faf220]](double radius) { if (radius < 0.0) { throw new IllegalArgumentException("Negative \'radius\' argument."); } this. [[#variable18faf1c0]]= radius; notifyListeners(new DialLayerChangeEvent(this )); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18faf220]] | setInnerRadius |
1 | 2 | [[#18faf220]] | setOuterRadius |
2 | 1 | [[#18faf1c0]] | innerRadius |
2 | 2 | [[#18faf1c0]] | outerRadius |