Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 1 | 0.967 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 282 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/general/SubSeriesDataset.java |
2 | 2 | 297 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/general/SubSeriesDataset.java |
| |||||
/////////////////////////////////////////////////////////////////////////// // From XYDataset /////////////////////////////////////////////////////////////////////////// /** * Returns the X-value for the specified series and item. * <p> * Note: throws <code>ClassCastException</code> if the series if 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) { return ((XYDataset) this.parent).getX(this.map[series], item); } |
| |||||
/** * Returns the Y-value for the specified series and item. * <p> * Note: throws <code>ClassCastException</code> if the series if 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) { return ((XYDataset) this.parent).getY(this.map[series], item); } |
| |||
/** * Returns the Y-value for the specified series and item. * <p> * Note: throws <code>ClassCastException</code> if the series if 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. */ /////////////////////////////////////////////////////////////////////////// // From XYDataset /////////////////////////////////////////////////////////////////////////// /** * Returns the X-value for the specified series and item. * <p> * Note: throws <code>ClassCastException</code> if the series if 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 [[#variable18f5a340]](int series, int item) { return ((XYDataset) this.parent). [[#variable18f5a340]](this.map[series], item); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18f5a340]] | getX |
1 | 2 | [[#18f5a340]] | getY |