Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 3 | 3 | 0.951 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 211 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/MatrixSeriesCollection.java |
2 | 7 | 78 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/VectorSeriesCollection.java |
3 | 8 | 118 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYSeriesCollection.java |
| |||||
/** * Adds a series to the collection. * <P> * Notifies all registered listeners that the dataset has changed. * </p> * * @param series the series. * * @throws IllegalArgumentException */ public void addSeries(MatrixSeries series) { // check arguments... if (series == null) { throw new IllegalArgumentException("Cannot add null series."); } // FIXME: Check that there isn't already a series with the same key // add the series... this.seriesList.add(series); series.addChangeListener(this ); fireDatasetChanged(); } |
| |||||
/** * Adds a series to the collection and sends a {@link DatasetChangeEvent} * to all registered listeners. * * @param series the series (<code>null</code> not permitted). */ public void addSeries(VectorSeries series) { if (series == null) { throw new IllegalArgumentException("Null \'series\' argument."); } this.data.add(series); series.addChangeListener(this ); fireDatasetChanged(); } |
| |||||
/** * Adds a series to the collection and sends a {@link DatasetChangeEvent} * to all registered listeners. * * @param series the series (<code>null</code> not permitted). */ public void addSeries(XYSeries series) { if (series == null) { throw new IllegalArgumentException("Null \'series\' argument."); } this.data.add(series); series.addChangeListener(this ); fireDatasetChanged(); } |
| |||
/** * Adds a series to the collection. * <P> * Notifies all registered listeners that the dataset has changed. * </p> * * @param series the series. * * @throws IllegalArgumentException */ /** * Adds a series to the collection and sends a {@link DatasetChangeEvent} * to all registered listeners. * * @param series the series (<code>null</code> not permitted). */ public void addSeries( [[#variable18dd1ea0]] series) { // check arguments... if (series == null) { throw new IllegalArgumentException( [[#variable18dd1e20]]); } // FIXME: Check that there isn't already a series with the same key // add the series... this. [[#variable18dd1d20]].add(series); series.addChangeListener(this ); fireDatasetChanged(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18dd1ea0]] | MatrixSeries |
1 | 2 | [[#18dd1ea0]] | VectorSeries |
1 | 3 | [[#18dd1ea0]] | XYSeries |
2 | 1 | [[#18dd1e20]] | "Cannot add null series." |
2 | 2 | [[#18dd1e20]] | "Null \'series\' argument." |
2 | 3 | [[#18dd1e20]] | "Null \'series\' argument." |
3 | 1 | [[#18dd1d20]] | seriesList |
3 | 2 | [[#18dd1d20]] | data |
3 | 3 | [[#18dd1d20]] | data |