CloneSet314


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

///////////////////////////////////////////////////////////////////////////
// From IntervalXYDataset
///////////////////////////////////////////////////////////////////////////
/**
 * Returns the starting X value for the specified series and item.
 *
 * @param series  the index of the series of interest (zero-based).
 * @param item  the index of the item of interest (zero-based).
 *
 * @return The value.
 */
public Number getStartX(int series, int item) {
  DatasetInfo di = getDatasetInfo(series);
  if (di.data instanceof IntervalXYDataset) {
    return ((IntervalXYDataset) di.data).getStartX(di.series, item);
  }
  else {
    return getX(series, item);
  }
}


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

/**
 * Returns the ending X value for the specified series and item.
 *
 * @param series  the index of the series of interest (zero-based).
 * @param item  the index of the item of interest (zero-based).
 *
 * @return The value.
 */
public Number getEndX(int series, int item) {
  DatasetInfo di = getDatasetInfo(series);
  if (di.data instanceof IntervalXYDataset) {
    return ((IntervalXYDataset) di.data).getEndX(di.series, item);
  }
  else {
    return getX(series, item);
  }
}


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

/**
 * Returns the starting Y value for the specified series and item.
 *
 * @param series  the index of the series of interest (zero-based).
 * @param item  the index of the item of interest (zero-based).
 *
 * @return The starting Y value for the specified series and item.
 */
public Number getStartY(int series, int item) {
  DatasetInfo di = getDatasetInfo(series);
  if (di.data instanceof IntervalXYDataset) {
    return ((IntervalXYDataset) di.data).getStartY(di.series, item);
  }
  else {
    return getY(series, item);
  }
}


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

/**
 * Returns the ending Y value for the specified series and item.
 *
 * @param series  the index of the series of interest (zero-based).
 * @param item  the index of the item of interest (zero-based).
 *
 * @return The ending Y value for the specified series and item.
 */
public Number getEndY(int series, int item) {
  DatasetInfo di = getDatasetInfo(series);
  if (di.data instanceof IntervalXYDataset) {
    return ((IntervalXYDataset) di.data).getEndY(di.series, item);
  }
  else {
    return getY(series, item);
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Returns the ending Y value for the specified series and item.
     *
     * @param series  the index of the series of interest (zero-based).
     * @param item  the index of the item of interest (zero-based).
     *
     * @return The ending Y value for the specified series and item.
     */
/**
     * Returns the starting Y value for the specified series and item.
     *
     * @param series  the index of the series of interest (zero-based).
     * @param item  the index of the item of interest (zero-based).
     *
     * @return The starting Y value for the specified series and item.
     */
/**
     * Returns the ending X value for the specified series and item.
     *
     * @param series  the index of the series of interest (zero-based).
     * @param item  the index of the item of interest (zero-based).
     *
     * @return The value.
     */
///////////////////////////////////////////////////////////////////////////
// From IntervalXYDataset
///////////////////////////////////////////////////////////////////////////
/**
     * Returns the starting X value for the specified series and item.
     *
     * @param series  the index of the series of interest (zero-based).
     * @param item  the index of the item of interest (zero-based).
     *
     * @return The value.
     */
public Number  [[#variable1a8f7680]](int series, int item) {
  DatasetInfo di = getDatasetInfo(series);
  if (di.data instanceof IntervalXYDataset) {
    return ((IntervalXYDataset) di.data). [[#variable1a8f7680]](di.series, item);
  }
  else {
    return [[#variable1a8dc220]](series, item);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a8f7680]]
getStartX 
12[[#1a8f7680]]
getEndX 
13[[#1a8f7680]]
getStartY 
14[[#1a8f7680]]
getEndY 
21[[#1a8dc220]]
getX 
22[[#1a8dc220]]
getX 
23[[#1a8dc220]]
getY 
24[[#1a8dc220]]
getY