Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.964 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 301 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/DialValueIndicator.java |
2 | 6 | 706 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/StandardDialScale.java |
| |||||
/** * Sets the formatter used to format the value and sends a * {@link DialLayerChangeEvent} to all registered listeners. * * @param formatter the formatter (<code>null</code> not permitted). * * @see #getNumberFormat() */ public void setNumberFormat(NumberFormat formatter) { if (formatter == null) { throw new IllegalArgumentException("Null \'formatter\' argument."); } this.formatter = formatter; notifyListeners(new DialLayerChangeEvent(this )); } |
| |||||
/** * Sets the number formatter used to convert the tick label values to * strings, and sends a {@link DialLayerChangeEvent} to all registered * listeners. * * @param formatter the formatter (<code>null</code> not permitted). * * @see #getTickLabelFormatter() */ public void setTickLabelFormatter(NumberFormat formatter) { if (formatter == null) { throw new IllegalArgumentException("Null \'formatter\' argument."); } this.tickLabelFormatter = formatter; notifyListeners(new DialLayerChangeEvent(this )); } |
| |||
/** * Sets the formatter used to format the value and sends a * {@link DialLayerChangeEvent} to all registered listeners. * * @param formatter the formatter (<code>null</code> not permitted). * * @see #getNumberFormat() */ /** * Sets the number formatter used to convert the tick label values to * strings, and sends a {@link DialLayerChangeEvent} to all registered * listeners. * * @param formatter the formatter (<code>null</code> not permitted). * * @see #getTickLabelFormatter() */ public void [[#variable18f9fa80]](NumberFormat formatter) { if (formatter == null) { throw new IllegalArgumentException("Null \'formatter\' argument."); } this. [[#variable18f9f960]]= formatter; notifyListeners(new DialLayerChangeEvent(this )); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18f9fa80]] | setNumberFormat |
1 | 2 | [[#18f9fa80]] | setTickLabelFormatter |
2 | 1 | [[#18f9f960]] | formatter |
2 | 2 | [[#18f9f960]] | tickLabelFormatter |