CloneSet1360


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

/**
 * Sets the flag that indicates whether or not the axis range, if
 * automatically calculated, is forced to include zero.
 * <p>
 * If the flag is changed to <code>true</code>, the axis range is
 * recalculated.
 * <p>
 * Any change to the flag will trigger an {@link AxisChangeEvent}.
 *
 * @param flag  the new value of the flag.
 *
 * @see #getAutoRangeIncludesZero()
 */
public void setAutoRangeIncludesZero(boolean flag) {
  if (this.autoRangeIncludesZero != flag) {
    this.autoRangeIncludesZero = flag;
    if (isAutoRange()) {
      autoAdjustRange();
    }
    notifyListeners(new AxisChangeEvent(this ));
  }
}


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

/**
 * Sets a flag that affects the auto-range when zero falls outside the data
 * range but inside the margins defined for the axis.
 *
 * @param flag  the new flag.
 *
 * @see #getAutoRangeStickyZero()
 */
public void setAutoRangeStickyZero(boolean flag) {
  if (this.autoRangeStickyZero != flag) {
    this.autoRangeStickyZero = flag;
    if (isAutoRange()) {
      autoAdjustRange();
    }
    notifyListeners(new AxisChangeEvent(this ));
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Sets a flag that affects the auto-range when zero falls outside the data
     * range but inside the margins defined for the axis.
     *
     * @param flag  the new flag.
     *
     * @see #getAutoRangeStickyZero()
     */
/**
     * Sets the flag that indicates whether or not the axis range, if
     * automatically calculated, is forced to include zero.
     * <p>
     * If the flag is changed to <code>true</code>, the axis range is
     * recalculated.
     * <p>
     * Any change to the flag will trigger an {@link AxisChangeEvent}.
     *
     * @param flag  the new value of the flag.
     *
     * @see #getAutoRangeIncludesZero()
     */
public void [[#variable18f54ea0]](boolean flag) {
  if (this. [[#variable18f54e40]]!= flag) {
    this. [[#variable18f54e40]]= flag;
    if (isAutoRange()) {
      autoAdjustRange();
    }
    notifyListeners(new AxisChangeEvent(this ));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18f54ea0]]
setAutoRangeIncludesZero 
12[[#18f54ea0]]
setAutoRangeStickyZero 
21[[#18f54e40]]
autoRangeIncludesZero 
22[[#18f54e40]]
autoRangeStickyZero