Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 1 | 0.952 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 196 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/DefaultKeyedValues.java |
2 | 2 | 218 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/DefaultKeyedValues.java |
3 | 2 | 212 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/general/DefaultPieDataset.java |
| |||||
/** * Updates an existing value, or adds a new value to the collection. * * @param key the key (<code>null</code> not permitted). * @param value the value. * * @see #addValue(Comparable, Number) */ public void addValue(Comparable key, double value) { addValue(key, new Double(value)); } |
| |||||
/** * Updates an existing value, or adds a new value to the collection. * * @param key the key (<code>null</code> not permitted). * @param value the value. */ public void setValue(Comparable key, double value) { setValue(key, new Double(value)); } |
| |||||
/** * Sets the data value for a key and sends a {@link DatasetChangeEvent} to * all registered listeners. * * @param key the key (<code>null</code> not permitted). * @param value the value. * * @throws IllegalArgumentException if <code>key</code> is * <code>null</code>. */ public void setValue(Comparable key, double value) { setValue(key, new Double(value)); } |
| |||
/** * Sets the data value for a key and sends a {@link DatasetChangeEvent} to * all registered listeners. * * @param key the key (<code>null</code> not permitted). * @param value the value. * * @throws IllegalArgumentException if <code>key</code> is * <code>null</code>. */ /** * Updates an existing value, or adds a new value to the collection. * * @param key the key (<code>null</code> not permitted). * @param value the value. * * @see #addValue(Comparable, Number) */ /** * Updates an existing value, or adds a new value to the collection. * * @param key the key (<code>null</code> not permitted). * @param value the value. */ public void [[#variable18f1e380]](Comparable key, double value) { [[#variable18f1e380]](key, new Double(value)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18f1e380]] | addValue |
1 | 2 | [[#18f1e380]] | setValue |
1 | 3 | [[#18f1e380]] | setValue |