Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 4 | 2 | 0.978 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 207 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/VectorSeriesCollection.java |
2 | 4 | 235 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/VectorSeriesCollection.java |
3 | 4 | 277 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/VectorSeriesCollection.java |
4 | 4 | 291 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/VectorSeriesCollection.java |
| |||||
/** * Returns the x-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The x-value. */ public double getXValue(int series, int item) { VectorSeries s = (VectorSeries) this.data.get(series); VectorDataItem di = (VectorDataItem) s.getDataItem(item); return di.getXValue(); } |
| |||||
/** * 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 double getYValue(int series, int item) { VectorSeries s = (VectorSeries) this.data.get(series); VectorDataItem di = (VectorDataItem) s.getDataItem(item); return di.getYValue(); } |
| |||||
/** * Returns the x-component of the vector for an item in a series. * * @param series the series index. * @param item the item index. * * @return The x-component of the vector. */ public double getVectorXValue(int series, int item) { VectorSeries s = (VectorSeries) this.data.get(series); VectorDataItem di = (VectorDataItem) s.getDataItem(item); return di.getVectorX(); } |
| |||||
/** * Returns the y-component of the vector for an item in a series. * * @param series the series index. * @param item the item index. * * @return The y-component of the vector. */ public double getVectorYValue(int series, int item) { VectorSeries s = (VectorSeries) this.data.get(series); VectorDataItem di = (VectorDataItem) s.getDataItem(item); return di.getVectorY(); } |
| |||
/** * Returns the y-component of the vector for an item in a series. * * @param series the series index. * @param item the item index. * * @return The y-component of the vector. */ /** * Returns the x-component of the vector for an item in a series. * * @param series the series index. * @param item the item index. * * @return The x-component of the vector. */ /** * Returns the y-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The y-value. */ /** * Returns the x-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The x-value. */ public double [[#variable1a934e00]](int series, int item) { VectorSeries s = (VectorSeries) this.data.get(series); VectorDataItem di = (VectorDataItem) s.getDataItem(item); return di. [[#variable1a920780]](); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1a934e00]] | getXValue |
1 | 2 | [[#1a934e00]] | getYValue |
1 | 3 | [[#1a934e00]] | getVectorXValue |
1 | 4 | [[#1a934e00]] | getVectorYValue |
2 | 1 | [[#1a920780]] | getXValue |
2 | 2 | [[#1a920780]] | getYValue |
2 | 3 | [[#1a920780]] | getVectorX |
2 | 4 | [[#1a920780]] | getVectorY |