CloneSet256


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
37210.987method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
137422
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/CategoryPointerAnnotation.java
236432
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/XYPointerAnnotation.java
Next
Last
Clone Instance
1
Line Count
37
Source Line
422
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/CategoryPointerAnnotation.java

/**
 * Tests this annotation for equality with an arbitrary object.
 * 
 * @param obj  the object (<code>null</code> permitted).
 * 
 * @return <code>true</code> or <code>false</code>.
 */
public boolean equals(Object obj) {
  if (obj == this ) {
    return true;
  }
  if ( !(obj instanceof CategoryPointerAnnotation)) {
    return false;
  }
  if ( !super.equals(obj)) {
    return false;
  }
  CategoryPointerAnnotation that = (CategoryPointerAnnotation) obj;
  if (this.angle != that.angle) {
    return false;
  }
  if (this.tipRadius != that.tipRadius) {
    return false;
  }
  if (this.baseRadius != that.baseRadius) {
    return false;
  }
  if (this.arrowLength != that.arrowLength) {
    return false;
  }
  if (this.arrowWidth != that.arrowWidth) {
    return false;
  }
  if ( !this.arrowPaint.equals(that.arrowPaint)) {
    return false;
  }
  if ( !ObjectUtilities.equal(this.arrowStroke, that.arrowStroke)) {
    return false;
  }
  if (this.labelOffset != that.labelOffset) {
    return false;
  }
  return true;
}


First
Previous
Clone Instance
2
Line Count
36
Source Line
432
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/XYPointerAnnotation.java

/**
 * Tests this annotation for equality with an arbitrary object.
 * 
 * @param obj  the object (<code>null</code> permitted).
 * 
 * @return <code>true</code> or <code>false</code>.
 */
public boolean equals(Object obj) {
  if (obj == this ) {
    return true;
  }
  if ( !(obj instanceof XYPointerAnnotation)) {
    return false;
  }
  if ( !super.equals(obj)) {
    return false;
  }
  XYPointerAnnotation that = (XYPointerAnnotation) obj;
  if (this.angle != that.angle) {
    return false;
  }
  if (this.tipRadius != that.tipRadius) {
    return false;
  }
  if (this.baseRadius != that.baseRadius) {
    return false;
  }
  if (this.arrowLength != that.arrowLength) {
    return false;
  }
  if (this.arrowWidth != that.arrowWidth) {
    return false;
  }
  if ( !this.arrowPaint.equals(that.arrowPaint)) {
    return false;
  }
  if ( !ObjectUtilities.equal(this.arrowStroke, that.arrowStroke)) {
    return false;
  }
  if (this.labelOffset != that.labelOffset) {
    return false;
  }
  return true;
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Tests this annotation for equality with an arbitrary object.
     * 
     * @param obj  the object (<code>null</code> permitted).
     * 
     * @return <code>true</code> or <code>false</code>.
     */
public boolean equals(Object obj) {
  if (obj == this ) {
    return true;
  }
  if ( !(obj instanceof [[#variable1a870ea0]])) {
    return false;
  }
  if ( !super.equals(obj)) {
    return false;
  }
   [[#variable1a870ea0]] that = ( [[#variable1a870ea0]]) obj;
  if (this.angle != that.angle) {
    return false;
  }
  if (this.tipRadius != that.tipRadius) {
    return false;
  }
  if (this.baseRadius != that.baseRadius) {
    return false;
  }
  if (this.arrowLength != that.arrowLength) {
    return false;
  }
  if (this.arrowWidth != that.arrowWidth) {
    return false;
  }
  if ( !this.arrowPaint.equals(that.arrowPaint)) {
    return false;
  }
  if ( !ObjectUtilities.equal(this.arrowStroke, that.arrowStroke)) {
    return false;
  }
  if (this.labelOffset != that.labelOffset) {
    return false;
  }
  return true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a870ea0]]
CategoryPointerAnnotation 
12[[#1a870ea0]]
XYPointerAnnotation