Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.983 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 383 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimePeriodValues.java |
2 | 4 | 632 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeries.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(); } |
| |||||
/** * 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(); } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18f85ce0]] | TimePeriodValue |
1 | 2 | [[#18f85ce0]] | TimeSeriesDataItem |