CloneSet1521


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2201.000method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12255
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/DefaultKeyedValues.java
22229
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/general/DefaultPieDataset.java
Next
Last
Clone Instance
1
Line Count
2
Source Line
255
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/DefaultKeyedValues.java

/**
 * Inserts a new value at the specified position in the dataset or, if
 * there is an existing item with the specified key, updates the value 
 * for that item and moves it to the specified position.
 * 
 * @param position  the position (in the range 0 to getItemCount()).
 * @param key  the key (<code>null</code> not permitted).
 * @param value  the value.
 * 
 * @since 1.0.6
 */
public void insertValue(int position, Comparable key, double value) {
  insertValue(position, key, new Double(value));
}


First
Previous
Clone Instance
2
Line Count
2
Source Line
229
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/general/DefaultPieDataset.java

/**
 * Inserts a new value at the specified position in the dataset or, if
 * there is an existing item with the specified key, updates the value 
 * for that item and moves it to the specified position.  After the change
 * is made, this methods sends a {@link DatasetChangeEvent} to all 
 * registered listeners.
 * 
 * @param position  the position (in the range 0 to getItemCount()).
 * @param key  the key (<code>null</code> not permitted).
 * @param value  the value (<code>null</code> permitted).
 * 
 * @since 1.0.6
 */
public void insertValue(int position, Comparable key, double value) {
  insertValue(position, key, new Double(value));
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Inserts a new value at the specified position in the dataset or, if
     * there is an existing item with the specified key, updates the value 
     * for that item and moves it to the specified position.  After the change
     * is made, this methods sends a {@link DatasetChangeEvent} to all 
     * registered listeners.
     * 
     * @param position  the position (in the range 0 to getItemCount()).
     * @param key  the key (<code>null</code> not permitted).
     * @param value  the value (<code>null</code> permitted).
     * 
     * @since 1.0.6
     */
/**
     * Inserts a new value at the specified position in the dataset or, if
     * there is an existing item with the specified key, updates the value 
     * for that item and moves it to the specified position.
     * 
     * @param position  the position (in the range 0 to getItemCount()).
     * @param key  the key (<code>null</code> not permitted).
     * @param value  the value.
     * 
     * @since 1.0.6
     */
public void insertValue(int position, Comparable key, double value) {
  insertValue(position, key, new Double(value));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None