CloneSet750


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

/**
 * Returns the starting X value for the specified series and item.
 *
 * @param series  the series (zero-based index).
 * @param item  the item (zero-based index).
 *
 * @return The starting X value for the specified series and item.
 */
public Number getStartX(int series, int item) {
  TimePeriodValues ts = (TimePeriodValues) this.data.get(series);
  TimePeriodValue dp = ts.getDataItem(item);
  return new Long(dp.getPeriod().getStart().getTime());
}


First
Previous
Clone Instance
2
Line Count
4
Source Line
297
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimePeriodValuesCollection.java

/**
 * Returns the ending X value for the specified series and item.
 *
 * @param series  the series (zero-based index).
 * @param item  the item (zero-based index).
 *
 * @return The ending X value for the specified series and item.
 */
public Number getEndX(int series, int item) {
  TimePeriodValues ts = (TimePeriodValues) this.data.get(series);
  TimePeriodValue dp = ts.getDataItem(item);
  return new Long(dp.getPeriod().getEnd().getTime());
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Returns the ending X value for the specified series and item.
     *
     * @param series  the series (zero-based index).
     * @param item  the item (zero-based index).
     *
     * @return The ending X value for the specified series and item.
     */
/**
     * Returns the starting X value for the specified series and item.
     *
     * @param series  the series (zero-based index).
     * @param item  the item (zero-based index).
     *
     * @return The starting X value for the specified series and item.
     */
public Number  [[#variable18d34a40]](int series, int item) {
  TimePeriodValues ts = (TimePeriodValues) this.data.get(series);
  TimePeriodValue dp = ts.getDataItem(item);
  return new Long(dp.getPeriod(). [[#variable18d35160]]().getTime());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18d34a40]]
getStartX 
12[[#18d34a40]]
getEndX 
21[[#18d35160]]
getStart 
22[[#18d35160]]
getEnd