CloneSet1628


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.960method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
161086
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/ValueAxis.java
261119
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/ValueAxis.java
Next
Last
Clone Instance
1
Line Count
6
Source Line
1086
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/ValueAxis.java

/**
 * Sets the lower margin for the axis (as a percentage of the axis range)
 * and sends an {@link AxisChangeEvent} to all registered listeners.  This
 * margin is added only when the axis range is auto-calculated - if you set
 * the axis range manually, the margin is ignored.
 *
 * @param margin  the margin percentage (for example, 0.05 is five percent).
 *
 * @see #getLowerMargin()
 * @see #setUpperMargin(double)
 */
public void setLowerMargin(double margin) {
  this.lowerMargin = margin;
  if (isAutoRange()) {
    autoAdjustRange();
  }
  notifyListeners(new AxisChangeEvent(this ));
}


First
Previous
Clone Instance
2
Line Count
6
Source Line
1119
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/ValueAxis.java

/**
 * Sets the upper margin for the axis (as a percentage of the axis range)
 * and sends an {@link AxisChangeEvent} to all registered listeners.  This
 * margin is added only when the axis range is auto-calculated - if you set
 * the axis range manually, the margin is ignored.
 *
 * @param margin  the margin percentage (for example, 0.05 is five percent).
 *
 * @see #getLowerMargin()
 * @see #setLowerMargin(double)
 */
public void setUpperMargin(double margin) {
  this.upperMargin = margin;
  if (isAutoRange()) {
    autoAdjustRange();
  }
  notifyListeners(new AxisChangeEvent(this ));
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Sets the upper margin for the axis (as a percentage of the axis range)
     * and sends an {@link AxisChangeEvent} to all registered listeners.  This
     * margin is added only when the axis range is auto-calculated - if you set
     * the axis range manually, the margin is ignored.
     *
     * @param margin  the margin percentage (for example, 0.05 is five percent).
     *
     * @see #getLowerMargin()
     * @see #setLowerMargin(double)
     */
/**
     * Sets the lower margin for the axis (as a percentage of the axis range)
     * and sends an {@link AxisChangeEvent} to all registered listeners.  This
     * margin is added only when the axis range is auto-calculated - if you set
     * the axis range manually, the margin is ignored.
     *
     * @param margin  the margin percentage (for example, 0.05 is five percent).
     *
     * @see #getLowerMargin()
     * @see #setUpperMargin(double)
     */
public void [[#variable18fff5e0]](double margin) {
  this. [[#variable18fff540]]= margin;
  if (isAutoRange()) {
    autoAdjustRange();
  }
  notifyListeners(new AxisChangeEvent(this ));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18fff5e0]]
setLowerMargin 
12[[#18fff5e0]]
setUpperMargin 
21[[#18fff540]]
lowerMargin 
22[[#18fff540]]
upperMargin