Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
21 | 2 | 1 | 0.988 | class_body_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 21 | 67 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/Vector.java |
2 | 21 | 72 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYCoordinate.java |
| |||||
/** * Creates a new instance of <code>Vector</code>. * * @param x the x-component. * @param y the y-component. */ public Vector(double x, double y) { this.x = x; this.y = y; } /** * Returns the x-value. * * @return The x-value. */ public double getX() { return this.x; } /** * Returns the y-value. * * @return The y-value. */ public double getY() { return this.y; } |
| |||||
/** * Creates a new coordinate for the point (x, y). * * @param x the x-coordinate. * @param y the y-coordinate. */ public XYCoordinate(double x, double y) { this.x = x; this.y = y; } /** * Returns the x-coordinate. * * @return The x-coordinate. */ public double getX() { return this.x; } /** * Returns the y-coordinate. * * @return The y-coordinate. */ public double getY() { return this.y; } |
| |||
/** * Creates a new coordinate for the point (x, y). * * @param x the x-coordinate. * @param y the y-coordinate. */ /** * Creates a new instance of <code>Vector</code>. * * @param x the x-component. * @param y the y-component. */ public [[#variable18e38220]](double x, double y) { this.x = x; this.y = y; } /** * Returns the x-coordinate. * * @return The x-coordinate. */ /** * Returns the x-value. * * @return The x-value. */ public double getX() { return this.x; } /** * Returns the y-coordinate. * * @return The y-coordinate. */ /** * Returns the y-value. * * @return The y-value. */ public double getY() { return this.y; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18e38220]] | Vector |
1 | 2 | [[#18e38220]] | XYCoordinate |