Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
20 | 2 | 2 | 0.969 | class_body_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 160 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/Month.java |
2 | 20 | 229 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/Week.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; } |
| |||||
/** * 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; } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18f38000]] | getMonth |
1 | 2 | [[#18f38000]] | getWeek |
2 | 1 | [[#18f2bae0]] | month |
2 | 2 | [[#18f2bae0]] | week |