CloneSet765


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15210.971method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115115
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/Vector.java
215102
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYCoordinate.java
Next
Last
Clone Instance
1
Line Count
15
Source Line
115
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/Vector.java

/**
 * Tests this vector for equality with an arbitrary object.
 * 
 * @param obj  the object (<code>null</code> not permitted).
 * 
 * @return A boolean.
 */
public boolean equals(Object obj) {
  if (obj == this ) {
    return true;
  }
  if ( !(obj instanceof Vector)) {
    return false;
  }
  Vector that = (Vector) obj;
  if (this.x != that.x) {
    return false;
  }
  if (this.y != that.y) {
    return false;
  }
  return true;
}


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

/**
 * Tests this coordinate for equality with an arbitrary object.
 * 
 * @param obj  the object (<code>null</code> permitted).
 * 
 * @return A boolean.
 */
public boolean equals(Object obj) {
  if (obj == this ) {
    return true;
  }
  if ( !(obj instanceof XYCoordinate)) {
    return false;
  }
  XYCoordinate that = (XYCoordinate) obj;
  if (this.x != that.x) {
    return false;
  }
  if (this.y != that.y) {
    return false;
  }
  return true;
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Tests this vector for equality with an arbitrary object.
     * 
     * @param obj  the object (<code>null</code> not permitted).
     * 
     * @return A boolean.
     */
/**
     * Tests this coordinate for equality with an arbitrary object.
     * 
     * @param obj  the object (<code>null</code> permitted).
     * 
     * @return A boolean.
     */
public boolean equals(Object obj) {
  if (obj == this ) {
    return true;
  }
  if ( !(obj instanceof [[#variable18d51ca0]])) {
    return false;
  }
   [[#variable18d51ca0]] that = ( [[#variable18d51ca0]]) obj;
  if (this.x != that.x) {
    return false;
  }
  if (this.y != that.y) {
    return false;
  }
  return true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18d51ca0]]
Vector 
12[[#18d51ca0]]
XYCoordinate