CloneSet740


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.981method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15472
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeriesCollection.java
25487
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeriesCollection.java
Next
Last
Clone Instance
1
Line Count
5
Source Line
472
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeriesCollection.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 value.
 */
public synchronized Number getStartX(int series, int item) {
  TimeSeries ts = (TimeSeries) this.data.get(series);
  TimeSeriesDataItem dp = ts.getDataItem(item);
  return new Long(dp.getPeriod().getFirstMillisecond(this.workingCalendar));
}


First
Previous
Clone Instance
2
Line Count
5
Source Line
487
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeriesCollection.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 value.
 */
public synchronized Number getEndX(int series, int item) {
  TimeSeries ts = (TimeSeries) this.data.get(series);
  TimeSeriesDataItem dp = ts.getDataItem(item);
  return new Long(dp.getPeriod().getLastMillisecond(this.workingCalendar));
}


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 value.
     */
/**
     * 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 value.
     */
public synchronized Number  [[#variable18d2f9a0]](int series, int item) {
  TimeSeries ts = (TimeSeries) this.data.get(series);
  TimeSeriesDataItem dp = ts.getDataItem(item);
  return new Long(dp.getPeriod(). [[#variable18d2f940]](this.workingCalendar));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18d2f9a0]]
getStartX 
12[[#18d2f9a0]]
getEndX 
21[[#18d2f940]]
getFirstMillisecond 
22[[#18d2f940]]
getLastMillisecond