Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
19 | 2 | 2 | 0.959 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 19 | 117 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/DialCap.java |
2 | 19 | 113 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/StandardDialFrame.java |
| |||||
/** * Returns the radius of the cap, as a percentage of the dial's framing * rectangle. * * @return The radius. * * @see #setRadius(double) */ public double getRadius() { return this.radius; } /** * Sets the radius of the cap, as a percentage of the dial's framing * rectangle, and sends a {@link DialLayerChangeEvent} to all registered * listeners. * * @param radius the radius (must be greater than zero). * * @see #getRadius() */ public void setRadius(double radius) { if (radius <= 0.0) { throw new IllegalArgumentException("Requires radius > 0.0."); } this.radius = radius; notifyListeners(new DialLayerChangeEvent(this )); } |
| |||||
/** * Returns the radius, relative to the framing rectangle. * * @return The radius. * * @see #setRadius(double) */ public double getRadius() { return this.radius; } /** * Sets the radius and sends a {@link DialLayerChangeEvent} to all * registered listeners. * * @param radius the radius (must be positive). * * @see #getRadius() */ public void setRadius(double radius) { if (radius <= 0) { throw new IllegalArgumentException("The \'radius\' must be positive."); } this.radius = radius; notifyListeners(new DialLayerChangeEvent(this )); } |
| |||
/** * Returns the radius of the cap, as a percentage of the dial's framing * rectangle. * * @return The radius. * * @see #setRadius(double) */ /** * Returns the radius, relative to the framing rectangle. * * @return The radius. * * @see #setRadius(double) */ public double getRadius() { return this.radius; } /** * Sets the radius of the cap, as a percentage of the dial's framing * rectangle, and sends a {@link DialLayerChangeEvent} to all registered * listeners. * * @param radius the radius (must be greater than zero). * * @see #getRadius() */ /** * Sets the radius and sends a {@link DialLayerChangeEvent} to all * registered listeners. * * @param radius the radius (must be positive). * * @see #getRadius() */ public void setRadius(double radius) { if (radius <= [[#variable18ea9640]]) { throw new IllegalArgumentException( [[#variable18ea9660]]); } this.radius = radius; notifyListeners(new DialLayerChangeEvent(this )); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18ea9640]] | 0.0 |
1 | 2 | [[#18ea9640]] | 0 |
2 | 1 | [[#18ea9660]] | "Requires radius > 0.0." |
2 | 2 | [[#18ea9660]] | "The \'radius\' must be positive." |