Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
26 | 2 | 3 | 0.954 | class_body_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 24 | 141 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/entity/PieSectionEntity.java |
2 | 26 | 630 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/PiePlot.java |
| |||||
/** * Returns the pie index. For a regular pie chart, the section index is 0. * For a pie chart containing multiple pie plots, the pie index is the row * or column index from which the pie data is extracted. * * @return The pie index. * * @see #setPieIndex(int) */ public int getPieIndex() { return this.pieIndex; } /** * Sets the pie index. * * @param index the new index value. * * @see #getPieIndex() */ public void setPieIndex(int index) { this.pieIndex = index; } /** * Returns the section index. * * @return The section index. * * @see #setSectionIndex(int) */ public int getSectionIndex() { return this.sectionIndex; } |
| |||||
/** * Returns the pie index (this is used by the {@link MultiplePiePlot} class * to track subplots). * * @return The pie index. * * @see #setPieIndex(int) */ public int getPieIndex() { return this.pieIndex; } /** * Sets the pie index (this is used by the {@link MultiplePiePlot} class to * track subplots). * * @param index the index. * * @see #getPieIndex() */ public void setPieIndex(int index) { this.pieIndex = index; } /** * Returns the start angle for the first pie section. This is measured in * degrees starting from 3 o'clock and measuring anti-clockwise. * * @return The start angle. * * @see #setStartAngle(double) */ public double getStartAngle() { return this.startAngle; } |
| |||
/** * Returns the pie index (this is used by the {@link MultiplePiePlot} class * to track subplots). * * @return The pie index. * * @see #setPieIndex(int) */ /** * Returns the pie index. For a regular pie chart, the section index is 0. * For a pie chart containing multiple pie plots, the pie index is the row * or column index from which the pie data is extracted. * * @return The pie index. * * @see #setPieIndex(int) */ public int getPieIndex() { return this.pieIndex; } /** * Sets the pie index (this is used by the {@link MultiplePiePlot} class to * track subplots). * * @param index the index. * * @see #getPieIndex() */ /** * Sets the pie index. * * @param index the new index value. * * @see #getPieIndex() */ public void setPieIndex(int index) { this.pieIndex = index; } /** * Returns the start angle for the first pie section. This is measured in * degrees starting from 3 o'clock and measuring anti-clockwise. * * @return The start angle. * * @see #setStartAngle(double) */ /** * Returns the section index. * * @return The section index. * * @see #setSectionIndex(int) */ public [[#variable18f250e0]] [[#variable18f27760]]() { return this. [[#variable18f24de0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18f250e0]] | int |
1 | 2 | [[#18f250e0]] | double |
2 | 1 | [[#18f27760]] | getSectionIndex |
2 | 2 | [[#18f27760]] | getStartAngle |
3 | 1 | [[#18f24de0]] | sectionIndex |
3 | 2 | [[#18f24de0]] | startAngle |