CloneSet1139


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19220.959class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119117
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/DialCap.java
219113
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/StandardDialFrame.java
Next
Last
Clone Instance
1
Line Count
19
Source Line
117
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/DialCap.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 ));
}


First
Previous
Clone Instance
2
Line Count
19
Source Line
113
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/StandardDialFrame.java

/**
 * 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 ));
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18ea9640]]
0.0 
12[[#18ea9640]]
0 
21[[#18ea9660]]
"Requires radius > 0.0." 
22[[#18ea9660]]
"The \'radius\' must be positive."