Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.973 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 186 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/general/CombinedDataset.java |
2 | 3 | 202 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/general/CombinedDataset.java |
| |||||
/////////////////////////////////////////////////////////////////////////// // From XYDataset /////////////////////////////////////////////////////////////////////////// /** * Returns the X-value for the specified series and item. * <P> * Note: throws <code>ClassCastException</code> if the series is not from * a {@link XYDataset}. * * @param series the index of the series of interest (zero-based). * @param item the index of the item of interest (zero-based). * * @return The X-value for the specified series and item. */ public Number getX(int series, int item) { DatasetInfo di = getDatasetInfo(series); return ((XYDataset) di.data).getX(di.series, item); } |
| |||||
/** * Returns the Y-value for the specified series and item. * <P> * Note: throws <code>ClassCastException</code> if the series is not from * a {@link XYDataset}. * * @param series the index of the series of interest (zero-based). * @param item the index of the item of interest (zero-based). * * @return The Y-value for the specified series and item. */ public Number getY(int series, int item) { DatasetInfo di = getDatasetInfo(series); return ((XYDataset) di.data).getY(di.series, item); } |
| |||
/////////////////////////////////////////////////////////////////////////// // From XYDataset /////////////////////////////////////////////////////////////////////////// /** * Returns the X-value for the specified series and item. * <P> * Note: throws <code>ClassCastException</code> if the series is not from * a {@link XYDataset}. * * @param series the index of the series of interest (zero-based). * @param item the index of the item of interest (zero-based). * * @return The X-value for the specified series and item. */ /** * Returns the Y-value for the specified series and item. * <P> * Note: throws <code>ClassCastException</code> if the series is not from * a {@link XYDataset}. * * @param series the index of the series of interest (zero-based). * @param item the index of the item of interest (zero-based). * * @return The Y-value for the specified series and item. */ public Number [[#variable18e9d6a0]](int series, int item) { DatasetInfo di = getDatasetInfo(series); return ((XYDataset) di.data). [[#variable18e9d6a0]](di.series, item); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18e9d6a0]] | getX |
1 | 2 | [[#18e9d6a0]] | getY |