Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.952 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 251 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/NumberAxis.java |
2 | 7 | 281 | 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 )); } } |
| |||||
/** * 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 )); } } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18f54ea0]] | setAutoRangeIncludesZero |
1 | 2 | [[#18f54ea0]] | setAutoRangeStickyZero |
2 | 1 | [[#18f54e40]] | autoRangeIncludesZero |
2 | 2 | [[#18f54e40]] | autoRangeStickyZero |