CloneSet497


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16310.990method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116174
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/MultiplePiePlot.java
216355
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/SpiderWebPlot.java
316185
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/WaferMapPlot.java
Next
Last
Clone Instance
1
Line Count
16
Source Line
174
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/MultiplePiePlot.java

/**
 * Sets the dataset used by the plot and sends a {@link PlotChangeEvent}
 * to all registered listeners.
 *
 * @param dataset  the dataset (<code>null</code> permitted).
 */
public void setDataset(CategoryDataset dataset) {
  // if there is an existing dataset, remove the plot from the list of
  // change listeners...
  if (this.dataset != null) {
    this.dataset.removeChangeListener(this );
  }
  // set the new dataset, and register the chart as a change listener...
  this.dataset = dataset;
  if (dataset != null) {
    setDatasetGroup(dataset.getGroup());
    dataset.addChangeListener(this );
  }
  // send a dataset change event to self to trigger plot change event
  datasetChanged(new DatasetChangeEvent(this, dataset));
}


Next
Previous
Clone Instance
2
Line Count
16
Source Line
355
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/SpiderWebPlot.java

/**
 * Sets the dataset used by the plot and sends a {@link PlotChangeEvent}
 * to all registered listeners.
 *
 * @param dataset  the dataset (<code>null</code> permitted).
 *
 * @see #getDataset()
 */
public void setDataset(CategoryDataset dataset) {
  // if there is an existing dataset, remove the plot from the list of
  // change listeners...
  if (this.dataset != null) {
    this.dataset.removeChangeListener(this );
  }
  // set the new dataset, and register the chart as a change listener...
  this.dataset = dataset;
  if (dataset != null) {
    setDatasetGroup(dataset.getGroup());
    dataset.addChangeListener(this );
  }
  // send a dataset change event to self to trigger plot change event
  datasetChanged(new DatasetChangeEvent(this, dataset));
}


First
Previous
Clone Instance
3
Line Count
16
Source Line
185
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/WaferMapPlot.java

/**
 * Sets the dataset used by the plot and sends a {@link PlotChangeEvent}
 * to all registered listeners.
 * 
 * @param dataset  the dataset (<code>null</code> permitted).
 */
public void setDataset(WaferMapDataset dataset) {
  // if there is an existing dataset, remove the plot from the list of 
  // change listeners...
  if (this.dataset != null) {
    this.dataset.removeChangeListener(this );
  }
  // set the new dataset, and register the chart as a change listener...
  this.dataset = dataset;
  if (dataset != null) {
    setDatasetGroup(dataset.getGroup());
    dataset.addChangeListener(this );
  }
  // send a dataset change event to self to trigger plot change event
  datasetChanged(new DatasetChangeEvent(this, dataset));
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Sets the dataset used by the plot and sends a {@link PlotChangeEvent}
     * to all registered listeners.
     *
     * @param dataset  the dataset (<code>null</code> permitted).
     */
/**
     * Sets the dataset used by the plot and sends a {@link PlotChangeEvent}
     * to all registered listeners.
     * 
     * @param dataset  the dataset (<code>null</code> permitted).
     */
/**
     * Sets the dataset used by the plot and sends a {@link PlotChangeEvent}
     * to all registered listeners.
     *
     * @param dataset  the dataset (<code>null</code> permitted).
     *
     * @see #getDataset()
     */
public void setDataset( [[#variable1a9f07c0]] dataset) {
  // if there is an existing dataset, remove the plot from the list of
  // if there is an existing dataset, remove the plot from the list of 
  // change listeners...
  if (this.dataset != null) {
    this.dataset.removeChangeListener(this );
  }
  // set the new dataset, and register the chart as a change listener...
  this.dataset = dataset;
  if (dataset != null) {
    setDatasetGroup(dataset.getGroup());
    dataset.addChangeListener(this );
  }
  // send a dataset change event to self to trigger plot change event
  datasetChanged(new DatasetChangeEvent(this, dataset));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a9f07c0]]
CategoryDataset 
12[[#1a9f07c0]]
CategoryDataset 
13[[#1a9f07c0]]
WaferMapDataset