Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 2 | 0.980 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 209 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XIntervalSeriesCollection.java |
2 | 4 | 223 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XIntervalSeriesCollection.java |
3 | 4 | 237 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XIntervalSeriesCollection.java |
| |||||
/** * Returns the y-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The y-value. */ public Number getY(int series, int item) { XIntervalSeries s = (XIntervalSeries) this.data.get(series); XIntervalDataItem di = (XIntervalDataItem) s.getDataItem(item); return new Double(di.getYValue()); } |
| |||||
/** * Returns the start x-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The x-value. */ public Number getStartX(int series, int item) { XIntervalSeries s = (XIntervalSeries) this.data.get(series); XIntervalDataItem di = (XIntervalDataItem) s.getDataItem(item); return new Double(di.getXLowValue()); } |
| |||||
/** * Returns the end x-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The x-value. */ public Number getEndX(int series, int item) { XIntervalSeries s = (XIntervalSeries) this.data.get(series); XIntervalDataItem di = (XIntervalDataItem) s.getDataItem(item); return new Double(di.getXHighValue()); } |
| |||
/** * Returns the end x-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The x-value. */ /** * Returns the start x-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The x-value. */ /** * Returns the y-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The y-value. */ public Number [[#variable18c5ebc0]](int series, int item) { XIntervalSeries s = (XIntervalSeries) this.data.get(series); XIntervalDataItem di = (XIntervalDataItem) s.getDataItem(item); return new Double(di. [[#variable18c5e9a0]]()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18c5ebc0]] | getY |
1 | 2 | [[#18c5ebc0]] | getStartX |
1 | 3 | [[#18c5ebc0]] | getEndX |
2 | 1 | [[#18c5e9a0]] | getYValue |
2 | 2 | [[#18c5e9a0]] | getXLowValue |
2 | 3 | [[#18c5e9a0]] | getXHighValue |