Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.970 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 352 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/statistics/SimpleHistogramDataset.java |
2 | 3 | 378 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/statistics/SimpleHistogramDataset.java |
| |||||
/** * Returns the start 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 start x-value. */ public double getStartXValue(int series, int item) { SimpleHistogramBin bin = (SimpleHistogramBin) this.bins.get(item); return bin.getLowerBound(); } |
| |||||
/** * 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 end x-value. */ public double getEndXValue(int series, int item) { SimpleHistogramBin bin = (SimpleHistogramBin) this.bins.get(item); return bin.getUpperBound(); } |
| |||
/** * 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 end x-value. */ /** * Returns the start 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 start x-value. */ public double [[#variable18f09660]](int series, int item) { SimpleHistogramBin bin = (SimpleHistogramBin) this.bins.get(item); return bin. [[#variable18f095c0]](); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18f09660]] | getStartXValue |
1 | 2 | [[#18f09660]] | getEndXValue |
2 | 1 | [[#18f095c0]] | getLowerBound |
2 | 2 | [[#18f095c0]] | getUpperBound |