CloneSet896


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11330.951method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111211
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/MatrixSeriesCollection.java
2778
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/VectorSeriesCollection.java
38118
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYSeriesCollection.java
Next
Last
Clone Instance
1
Line Count
11
Source Line
211
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/MatrixSeriesCollection.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();
}


Next
Previous
Clone Instance
2
Line Count
7
Source Line
78
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/VectorSeriesCollection.java

/**
 * 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();
}


First
Previous
Clone Instance
3
Line Count
8
Source Line
118
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYSeriesCollection.java

/**
 * 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();
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
     * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18dd1ea0]]
MatrixSeries 
12[[#18dd1ea0]]
VectorSeries 
13[[#18dd1ea0]]
XYSeries 
21[[#18dd1e20]]
"Cannot add null series." 
22[[#18dd1e20]]
"Null \'series\' argument." 
23[[#18dd1e20]]
"Null \'series\' argument." 
31[[#18dd1d20]]
seriesList 
32[[#18dd1d20]]
data 
33[[#18dd1d20]]
data