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.972 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 390 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeTableXYDataset.java |
2 | 3 | 418 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeTableXYDataset.java |
| |||||
/** * 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) { TimePeriod period = (TimePeriod) this.values.getRowKey(item); return period.getStart().getTime(); } |
| |||||
/** * 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) { TimePeriod period = (TimePeriod) this.values.getRowKey(item); return period.getEnd().getTime(); } |
| |||
/** * 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. */ public double [[#variable18ebb200]](int series, int item) { TimePeriod period = (TimePeriod) this.values.getRowKey(item); return period. [[#variable18ebb140]]().getTime(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18ebb200]] | getStartXValue |
1 | 2 | [[#18ebb200]] | getEndXValue |
2 | 1 | [[#18ebb140]] | getStart |
2 | 2 | [[#18ebb140]] | getEnd |