CloneSet541


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21210.978method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
121354
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/block/ColumnArrangement.java
221424
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/block/FlowArrangement.java
Next
Last
Clone Instance
1
Line Count
21
Source Line
354
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/block/ColumnArrangement.java

/**
 * Tests this instance 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 ColumnArrangement)) {
    return false;
  }
  ColumnArrangement that = (ColumnArrangement) obj;
  if (this.horizontalAlignment != that.horizontalAlignment) {
    return false;
  }
  if (this.verticalAlignment != that.verticalAlignment) {
    return false;
  }
  if (this.horizontalGap != that.horizontalGap) {
    return false;
  }
  if (this.verticalGap != that.verticalGap) {
    return false;
  }
  return true;
}


First
Previous
Clone Instance
2
Line Count
21
Source Line
424
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/block/FlowArrangement.java

/**
 * Tests this instance 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 FlowArrangement)) {
    return false;
  }
  FlowArrangement that = (FlowArrangement) obj;
  if (this.horizontalAlignment != that.horizontalAlignment) {
    return false;
  }
  if (this.verticalAlignment != that.verticalAlignment) {
    return false;
  }
  if (this.horizontalGap != that.horizontalGap) {
    return false;
  }
  if (this.verticalGap != that.verticalGap) {
    return false;
  }
  return true;
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Tests this instance 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 [[#variable18c2c5c0]])) {
    return false;
  }
   [[#variable18c2c5c0]] that = ( [[#variable18c2c5c0]]) obj;
  if (this.horizontalAlignment != that.horizontalAlignment) {
    return false;
  }
  if (this.verticalAlignment != that.verticalAlignment) {
    return false;
  }
  if (this.horizontalGap != that.horizontalGap) {
    return false;
  }
  if (this.verticalGap != that.verticalGap) {
    return false;
  }
  return true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18c2c5c0]]
ColumnArrangement 
12[[#18c2c5c0]]
FlowArrangement