CloneSet1320


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20220.969class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
120160
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/Month.java
220229
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/Week.java
Next
Last
Clone Instance
1
Line Count
20
Source Line
160
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/Month.java

/**
 * Returns the year in which the month falls.
 *
 * @return The year in which the month falls (as a Year object).
 */
public Year getYear() {
  return new Year(this.year);
}

/**
 * Returns the year in which the month falls.
 *
 * @return The year in which the month falls (as an int).
 */
public int getYearValue() {
  return this.year;
}

/**
 * Returns the month.  Note that 1=JAN, 2=FEB, ...
 *
 * @return The month.
 */
public int getMonth() {
  return this.month;
}


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

/**
 * Returns the year in which the week falls.
 *
 * @return The year (never <code>null</code>).
 */
public Year getYear() {
  return new Year(this.year);
}

/**
 * Returns the year in which the week falls, as an integer value.
 *
 * @return The year.
 */
public int getYearValue() {
  return this.year;
}

/**
 * Returns the week.
 *
 * @return The week.
 */
public int getWeek() {
  return this.week;
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Returns the year in which the week falls.
     *
     * @return The year (never <code>null</code>).
     */
/**
     * Returns the year in which the month falls.
     *
     * @return The year in which the month falls (as a Year object).
     */
public Year getYear() {
  return new Year(this.year);
}

/**
     * Returns the year in which the week falls, as an integer value.
     *
     * @return The year.
     */
/**
     * Returns the year in which the month falls.
     *
     * @return The year in which the month falls (as an int).
     */
public int getYearValue() {
  return this.year;
}

/**
     * Returns the week.
     *
     * @return The week.
     */
/**
     * Returns the month.  Note that 1=JAN, 2=FEB, ...
     *
     * @return The month.
     */
public int  [[#variable18f38000]]() {
  return this. [[#variable18f2bae0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18f38000]]
getMonth 
12[[#18f38000]]
getWeek 
21[[#18f2bae0]]
month 
22[[#18f2bae0]]
week