CloneSet1007


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21210.988class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12167
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/Vector.java
22172
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYCoordinate.java
Next
Last
Clone Instance
1
Line Count
21
Source Line
67
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/Vector.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;
}


First
Previous
Clone Instance
2
Line Count
21
Source Line
72
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYCoordinate.java

/**
 * 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;
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18e38220]]
Vector 
12[[#18e38220]]
XYCoordinate