Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 1 | 0.985 | class_body_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 50 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/function/LineFunction2D.java |
2 | 14 | 50 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/function/PowerFunction2D.java |
| |||||
/** The intercept. */ private double a; /** The slope of the line. */ private double b; /** * Constructs a new line function. * * @param a the intercept. * @param b the slope. */ public LineFunction2D(double a, double b) { this.a = a; this.b = b; } |
| |||||
/** The 'a' coefficient. */ private double a; /** The 'b' coefficient. */ private double b; /** * Creates a new power function. * * @param a the 'a' coefficient. * @param b the 'b' coefficient. */ public PowerFunction2D(double a, double b) { this.a = a; this.b = b; } |
| |||
/** The 'a' coefficient. */ /** The intercept. */ private double a; /** The 'b' coefficient. */ /** The slope of the line. */ private double b; /** * Creates a new power function. * * @param a the 'a' coefficient. * @param b the 'b' coefficient. */ /** * Constructs a new line function. * * @param a the intercept. * @param b the slope. */ public [[#variable18f272c0]](double a, double b) { this.a = a; this.b = b; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18f272c0]] | LineFunction2D |
1 | 2 | [[#18f272c0]] | PowerFunction2D |