Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 3 | 0.953 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 223 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/block/AbstractBlock.java |
2 | 3 | 266 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/block/AbstractBlock.java |
3 | 3 | 332 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/block/AbstractBlock.java |
| |||||
/** * Sets the margin. * * @param top the top margin. * @param left the left margin. * @param bottom the bottom margin. * @param right the right margin. * * @see #getMargin() */ public void setMargin(double top, double left, double bottom, double right) { setMargin(new RectangleInsets(top, left, bottom, right)); } |
| |||||
/** * Sets a black border with the specified line widths. * * @param top the top border line width. * @param left the left border line width. * @param bottom the bottom border line width. * @param right the right border line width. */ public void setBorder(double top, double left, double bottom, double right) { setFrame(new BlockBorder(top, left, bottom, right)); } |
| |||||
/** * Sets the padding. * * @param top the top padding. * @param left the left padding. * @param bottom the bottom padding. * @param right the right padding. */ public void setPadding(double top, double left, double bottom, double right) { setPadding(new RectangleInsets(top, left, bottom, right)); } |
| |||
/** * Sets the padding. * * @param top the top padding. * @param left the left padding. * @param bottom the bottom padding. * @param right the right padding. */ /** * Sets a black border with the specified line widths. * * @param top the top border line width. * @param left the left border line width. * @param bottom the bottom border line width. * @param right the right border line width. */ /** * Sets the margin. * * @param top the top margin. * @param left the left margin. * @param bottom the bottom margin. * @param right the right margin. * * @see #getMargin() */ public void [[#variable18d89cc0]](double top, double left, double bottom, double right) { [[#variable18d89b00]](new [[#variable18d89d20]](top, left, bottom, right)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18d89cc0]] | setMargin |
1 | 2 | [[#18d89cc0]] | setBorder |
1 | 3 | [[#18d89cc0]] | setPadding |
2 | 1 | [[#18d89b00]] | setMargin |
2 | 2 | [[#18d89b00]] | setFrame |
2 | 3 | [[#18d89b00]] | setPadding |
3 | 1 | [[#18d89d20]] | RectangleInsets |
3 | 2 | [[#18d89d20]] | BlockBorder |
3 | 3 | [[#18d89d20]] | RectangleInsets |