CloneSet1126


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

///////////////////////////////////////////////////////////////////////////
// From XYDataset
///////////////////////////////////////////////////////////////////////////
/**
 * Returns the X-value for the specified series and item.
 * <P>
 * Note:  throws <code>ClassCastException</code> if the series is not from 
 * a {@link XYDataset}.
 *
 * @param series  the index of the series of interest (zero-based).
 * @param item  the index of the item of interest (zero-based).
 *
 * @return The X-value for the specified series and item.
 */
public Number getX(int series, int item) {
  DatasetInfo di = getDatasetInfo(series);
  return ((XYDataset) di.data).getX(di.series, item);
}


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

/**
 * Returns the Y-value for the specified series and item.
 * <P>
 * Note:  throws <code>ClassCastException</code> if the series is not from 
 * a {@link XYDataset}.
 *
 * @param series  the index of the series of interest (zero-based).
 * @param item  the index of the item of interest (zero-based).
 *
 * @return The Y-value for the specified series and item.
 */
public Number getY(int series, int item) {
  DatasetInfo di = getDatasetInfo(series);
  return ((XYDataset) di.data).getY(di.series, item);
}


Clone AbstractionParameter Count: 1Parameter Bindings

///////////////////////////////////////////////////////////////////////////
// From XYDataset
///////////////////////////////////////////////////////////////////////////
/**
     * Returns the X-value for the specified series and item.
     * <P>
     * Note:  throws <code>ClassCastException</code> if the series is not from 
     * a {@link XYDataset}.
     *
     * @param series  the index of the series of interest (zero-based).
     * @param item  the index of the item of interest (zero-based).
     *
     * @return The X-value for the specified series and item.
     */
/**
     * Returns the Y-value for the specified series and item.
     * <P>
     * Note:  throws <code>ClassCastException</code> if the series is not from 
     * a {@link XYDataset}.
     *
     * @param series  the index of the series of interest (zero-based).
     * @param item  the index of the item of interest (zero-based).
     *
     * @return The Y-value for the specified series and item.
     */
public Number  [[#variable18e9d6a0]](int series, int item) {
  DatasetInfo di = getDatasetInfo(series);
  return ((XYDataset) di.data). [[#variable18e9d6a0]](di.series, item);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18e9d6a0]]
getX 
12[[#18e9d6a0]]
getY