CloneSet2226


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

/**
 * Returns the time period at the specified index.
 *
 * @param index  the item index (in the range <code>0</code> to 
 *     <code>getItemCount() - 1</code>).
 *
 * @return The time period at the specified index.
 * 
 * @see #getDataItem(int)
 */
public TimePeriod getTimePeriod(int index) {
  return getDataItem(index).getPeriod();
}


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

/**
 * Returns the time period at the specified index.
 *
 * @param index  the index of the data item.
 *
 * @return The time period.
 */
public RegularTimePeriod getTimePeriod(int index) {
  return getDataItem(index).getPeriod();
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Returns the time period at the specified index.
     *
     * @param index  the item index (in the range <code>0</code> to 
     *     <code>getItemCount() - 1</code>).
     *
     * @return The time period at the specified index.
     * 
     * @see #getDataItem(int)
     */
/**
     * Returns the time period at the specified index.
     *
     * @param index  the index of the data item.
     *
     * @return The time period.
     */
public [[#variable1a13d780]] getTimePeriod(int index) {
  return getDataItem(index).getPeriod();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a13d780]]
TimePeriod 
12[[#1a13d780]]
RegularTimePeriod