CloneSet1437


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.983method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14383
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimePeriodValues.java
24632
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeries.java
Next
Last
Clone Instance
1
Line Count
4
Source Line
383
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimePeriodValues.java

/**
 * Updates (changes) the value of a data item and sends a 
 * {@link SeriesChangeEvent} to all registered listeners.
 *
 * @param index  the index of the data item to update.
 * @param value  the new value (<code>null</code> not permitted).
 */
public void update(int index, Number value) {
  TimePeriodValue item = getDataItem(index);
  item.setValue(value);
  fireSeriesChanged();
}


First
Previous
Clone Instance
2
Line Count
4
Source Line
632
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeries.java

/**
 * Updates (changes) the value of a data item.
 *
 * @param index  the index of the data item.
 * @param value  the new value (<code>null</code> permitted).
 */
public void update(int index, Number value) {
  TimeSeriesDataItem item = getDataItem(index);
  item.setValue(value);
  fireSeriesChanged();
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Updates (changes) the value of a data item and sends a 
     * {@link SeriesChangeEvent} to all registered listeners.
     *
     * @param index  the index of the data item to update.
     * @param value  the new value (<code>null</code> not permitted).
     */
/**
     * Updates (changes) the value of a data item.
     *
     * @param index  the index of the data item.
     * @param value  the new value (<code>null</code> permitted).
     */
public void update(int index, Number value) {
   [[#variable18f85ce0]] item = getDataItem(index);
  item.setValue(value);
  fireSeriesChanged();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18f85ce0]]
TimePeriodValue 
12[[#18f85ce0]]
TimeSeriesDataItem