CloneSet906


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

/**
 * Returns the x-value for the specified series and item.
 *
 * @param series  the series (zero-based index).
 * @param item  the item (zero-based index).
 *
 * @return The value.
 */
public Number getX(int series, int item) {
  XYSeries ts = (XYSeries) this.data.get(series);
  XYDataItem xyItem = ts.getDataItem(item);
  return xyItem.getX();
}


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

/**
 * Returns the y-value for the specified series and item.
 *
 * @param series  the series (zero-based index).
 * @param index  the index of the item of interest (zero-based).
 *
 * @return The value (possibly <code>null</code>).
 */
public Number getY(int series, int index) {
  XYSeries ts = (XYSeries) this.data.get(series);
  XYDataItem xyItem = ts.getDataItem(index);
  return xyItem.getY();
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Returns the y-value for the specified series and item.
     *
     * @param series  the series (zero-based index).
     * @param index  the index of the item of interest (zero-based).
     *
     * @return The value (possibly <code>null</code>).
     */
/**
     * Returns the x-value for the specified series and item.
     *
     * @param series  the series (zero-based index).
     * @param item  the item (zero-based index).
     *
     * @return The value.
     */
public Number  [[#variable18de0c80]](int series, int  [[#variable18de0cc0]]) {
  XYSeries ts = (XYSeries) this.data.get(series);
  XYDataItem xyItem = ts.getDataItem( [[#variable18de0cc0]]);
  return xyItem. [[#variable18de0c80]]();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18de0c80]]
getX 
12[[#18de0c80]]
getY 
21[[#18de0cc0]]
item 
22[[#18de0cc0]]
index