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.973 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 780 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/DynamicTimeSeriesCollection.java |
2 | 3 | 793 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/DynamicTimeSeriesCollection.java |
| |||||
/** * Returns the start x-value. * * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return The value. */ public Number getStartX(int series, int item) { RegularTimePeriod tp = this.pointsInTime[translateGet(item)]; return new Long(tp.getFirstMillisecond(this.workingCalendar)); } |
| |||||
/** * Returns the end x-value. * * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return The value. */ public Number getEndX(int series, int item) { RegularTimePeriod tp = this.pointsInTime[translateGet(item)]; return new Long(tp.getLastMillisecond(this.workingCalendar)); } |
| |||
/** * Returns the end x-value. * * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return The value. */ /** * Returns the start x-value. * * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return The value. */ public Number [[#variable18e97aa0]](int series, int item) { RegularTimePeriod tp = this.pointsInTime[translateGet(item)]; return new Long(tp. [[#variable18e97a00]](this.workingCalendar)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18e97aa0]] | getStartX |
1 | 2 | [[#18e97aa0]] | getEndX |
2 | 1 | [[#18e97a00]] | getFirstMillisecond |
2 | 2 | [[#18e97a00]] | getLastMillisecond |