Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 2 | 0.965 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 369 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/contour/DefaultContourDataset.java |
2 | 5 | 405 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/contour/DefaultContourDataset.java |
3 | 5 | 430 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/contour/DefaultContourDataset.java |
| |||||
/** * Returns the x value for the specified series and index (zero-based * indices). Required by the {@link XYDataset}. * * @param series must be zero; * @param item the item index (zero-based). * * @return The x value. */ public Number getX(int series, int item) { if (series > 0) { throw new IllegalArgumentException("Only one series for contour"); } return this.xValues[item]; } |
| |||||
/** * Returns the y value for the specified series and index (zero-based * indices). Required by the {@link XYDataset}. * * @param series the series index (must be zero for this dataset). * @param item the item index (zero-based). * * @return The Y value. */ public Number getY(int series, int item) { if (series > 0) { throw new IllegalArgumentException("Only one series for contour"); } return this.yValues[item]; } |
| |||||
/** * Returns the z value for the specified series and index (zero-based * indices). Required by the {@link XYDataset} * * @param series the series index (must be zero for this dataset). * @param item the item index (zero-based). * * @return The Z value. */ public Number getZ(int series, int item) { if (series > 0) { throw new IllegalArgumentException("Only one series for contour"); } return this.zValues[item]; } |
| |||
/** * Returns the z value for the specified series and index (zero-based * indices). Required by the {@link XYDataset} * * @param series the series index (must be zero for this dataset). * @param item the item index (zero-based). * * @return The Z value. */ /** * Returns the y value for the specified series and index (zero-based * indices). Required by the {@link XYDataset}. * * @param series the series index (must be zero for this dataset). * @param item the item index (zero-based). * * @return The Y value. */ /** * Returns the x value for the specified series and index (zero-based * indices). Required by the {@link XYDataset}. * * @param series must be zero; * @param item the item index (zero-based). * * @return The x value. */ public Number [[#variable18e1bf00]](int series, int item) { if (series > 0) { throw new IllegalArgumentException("Only one series for contour"); } return this. [[#variable18e1c520]][item]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18e1bf00]] | getX |
1 | 2 | [[#18e1bf00]] | getY |
1 | 3 | [[#18e1bf00]] | getZ |
2 | 1 | [[#18e1c520]] | xValues |
2 | 2 | [[#18e1c520]] | yValues |
2 | 3 | [[#18e1c520]] | zValues |