CloneSet1114


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

/**
 * Returns the start x-value.
 *
 * @param series  the series index (zero-based).
 * @param item  the item index (zero-based).
 *
 * @return The value.
 */
public Number getStartX(int series, int item) {
  RegularTimePeriod tp = this.pointsInTime[translateGet(item)];
  return new Long(tp.getFirstMillisecond(this.workingCalendar));
}


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

/**
 * Returns the end x-value.
 *
 * @param series  the series index (zero-based).
 * @param item  the item index (zero-based).
 *
 * @return The value.
 */
public Number getEndX(int series, int item) {
  RegularTimePeriod tp = this.pointsInTime[translateGet(item)];
  return new Long(tp.getLastMillisecond(this.workingCalendar));
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Returns the end x-value.
     *
     * @param series  the series index (zero-based).
     * @param item  the item index (zero-based).
     *
     * @return The value.
     */
/**
     * Returns the start x-value.
     *
     * @param series  the series index (zero-based).
     * @param item  the item index (zero-based).
     *
     * @return The value.
     */
public Number  [[#variable18e97aa0]](int series, int item) {
  RegularTimePeriod tp = this.pointsInTime[translateGet(item)];
  return new Long(tp. [[#variable18e97a00]](this.workingCalendar));
}
 

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