Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.981 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 472 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeriesCollection.java |
2 | 5 | 487 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeriesCollection.java |
| |||||
/** * Returns the starting X value for the specified series and item. * * @param series the series (zero-based index). * @param item the item (zero-based index). * * @return The value. */ public synchronized Number getStartX(int series, int item) { TimeSeries ts = (TimeSeries) this.data.get(series); TimeSeriesDataItem dp = ts.getDataItem(item); return new Long(dp.getPeriod().getFirstMillisecond(this.workingCalendar)); } |
| |||||
/** * Returns the ending X value for the specified series and item. * * @param series The series (zero-based index). * @param item The item (zero-based index). * * @return The value. */ public synchronized Number getEndX(int series, int item) { TimeSeries ts = (TimeSeries) this.data.get(series); TimeSeriesDataItem dp = ts.getDataItem(item); return new Long(dp.getPeriod().getLastMillisecond(this.workingCalendar)); } |
| |||
/** * Returns the ending X value for the specified series and item. * * @param series The series (zero-based index). * @param item The item (zero-based index). * * @return The value. */ /** * Returns the starting X value for the specified series and item. * * @param series the series (zero-based index). * @param item the item (zero-based index). * * @return The value. */ public synchronized Number [[#variable18d2f9a0]](int series, int item) { TimeSeries ts = (TimeSeries) this.data.get(series); TimeSeriesDataItem dp = ts.getDataItem(item); return new Long(dp.getPeriod(). [[#variable18d2f940]](this.workingCalendar)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18d2f9a0]] | getStartX |
1 | 2 | [[#18d2f9a0]] | getEndX |
2 | 1 | [[#18d2f940]] | getFirstMillisecond |
2 | 2 | [[#18d2f940]] | getLastMillisecond |