Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 4 | 2 | 0.977 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 396 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/CyclicXYItemRenderer.java |
2 | 7 | 63 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/AbstractIntervalXYDataset.java |
3 | 7 | 81 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/AbstractIntervalXYDataset.java |
4 | 7 | 73 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/AbstractXYDataset.java |
| |||||
/** * Returns the x-value (as a double primitive) for an item within a * series. * * @param series the series (zero-based index). * @param item the item (zero-based index). * * @return The x-value. */ public double getXValue(int series, int item) { double result = Double.NaN; Number x = getX(series, item); if (x != null) { result = x.doubleValue(); } return result; } |
| |||||
/** * Returns the start x-value (as a double primitive) for an item within a * series. * * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return The value. */ public double getStartXValue(int series, int item) { double result = Double.NaN; Number x = getStartX(series, item); if (x != null) { result = x.doubleValue(); } return result; } |
| |||||
/** * Returns the end x-value (as a double primitive) for an item within a * series. * * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return The value. */ public double getEndXValue(int series, int item) { double result = Double.NaN; Number x = getEndX(series, item); if (x != null) { result = x.doubleValue(); } return result; } |
| |||||
/** * Returns the x-value (as a double primitive) for an item within a series. * * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return The value. */ public double getXValue(int series, int item) { double result = Double.NaN; Number x = getX(series, item); if (x != null) { result = x.doubleValue(); } return result; } |
| |||
/** * Returns the x-value (as a double primitive) for an item within a * series. * * @param series the series (zero-based index). * @param item the item (zero-based index). * * @return The x-value. */ /** * Returns the end x-value (as a double primitive) for an item within a * series. * * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return The value. */ /** * Returns the start x-value (as a double primitive) for an item within a * series. * * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return The value. */ /** * Returns the x-value (as a double primitive) for an item within a series. * * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return The value. */ public double [[#variable1a986600]](int series, int item) { double result = Double.NaN; Number x = [[#variable1a986580]](series, item); if (x != null) { result = x.doubleValue(); } return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1a986600]] | getXValue |
1 | 2 | [[#1a986600]] | getStartXValue |
1 | 3 | [[#1a986600]] | getEndXValue |
1 | 4 | [[#1a986600]] | getXValue |
2 | 1 | [[#1a986580]] | getX |
2 | 2 | [[#1a986580]] | getStartX |
2 | 3 | [[#1a986580]] | getEndX |
2 | 4 | [[#1a986580]] | getX |