CloneSet1304


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.985method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15342
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/ComparableObjectSeries.java
25397
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYSeries.java
Next
Last
Clone Instance
1
Line Count
5
Source Line
342
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/ComparableObjectSeries.java

/**
 * Deletes a range of items from the series and sends a 
 * {@link SeriesChangeEvent} to all registered listeners.
 *
 * @param start  the start index (zero-based).
 * @param end  the end index (zero-based).
 */
protected void delete(int start, int end) {
  for (int i = start; i <= end; i++) {
    this.data.remove(start);
  }
  fireSeriesChanged();
}


First
Previous
Clone Instance
2
Line Count
5
Source Line
397
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYSeries.java

/**
 * Deletes a range of items from the series and sends a
 * {@link SeriesChangeEvent} to all registered listeners.
 *
 * @param start  the start index (zero-based).
 * @param end  the end index (zero-based).
 */
public void delete(int start, int end) {
  for (int i = start; i <= end; i++) {
    this.data.remove(start);
  }
  fireSeriesChanged();
}


Clone AbstractionParameter Count: 1Parameter Bindings

 [[#variable18f2d020]]void delete(int start, int end) {
  for (int i = start; i <= end; i++) {
    this.data.remove(start);
  }
  fireSeriesChanged();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18f2d020]]
/**
 * Deletes a range of items from the series and sends a 
 * {@link SeriesChangeEvent} to all registered listeners.
 *
 * @param start  the start index (zero-based).
 * @param end  the end index (zero-based).
 */
protected 
12[[#18f2d020]]
/**
 * Deletes a range of items from the series and sends a
 * {@link SeriesChangeEvent} to all registered listeners.
 *
 * @param start  the start index (zero-based).
 * @param end  the end index (zero-based).
 */
public