CloneSet465


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12320.951method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11290
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/entity/CategoryLabelEntity.java
213312
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/YIntervalRenderer.java
312351
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/title/ImageTitle.java
Next
Last
Clone Instance
1
Line Count
12
Source Line
90
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/entity/CategoryLabelEntity.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 CategoryLabelEntity)) {
    return false;
  }
  CategoryLabelEntity that = (CategoryLabelEntity) obj;
  if ( !ObjectUtilities.equal(this.key, that.key)) {
    return false;
  }
  return super.equals(obj);
}


Next
Previous
Clone Instance
2
Line Count
13
Source Line
312
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/YIntervalRenderer.java

/**
 * Tests this renderer 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 YIntervalRenderer)) {
    return false;
  }
  YIntervalRenderer that = (YIntervalRenderer) obj;
  if ( !ObjectUtilities.equal(this.additionalItemLabelGenerator, that.additionalItemLabelGenerator)) {
    return false;
  }
  return super.equals(obj);
}


First
Previous
Clone Instance
3
Line Count
12
Source Line
351
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/title/ImageTitle.java

/**
 * Tests this <code>ImageTitle</code> for equality with an arbitrary
 * object.  Returns <code>true</code> if:
 * <ul>
 * <li><code>obj</code> is an instance of <code>ImageTitle</code>;
 * <li><code>obj</code> references the same image as this
 *     <code>ImageTitle</code>;
 * <li><code>super.equals(obj)<code> returns <code>true</code>;
 * </ul>
 *
 * @param obj  the object (<code>null</code> permitted).
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
  if (obj == this ) {
    return true;
  }
  if ( !(obj instanceof ImageTitle)) {
    return false;
  }
  ImageTitle that = (ImageTitle) obj;
  if ( !ObjectUtilities.equal(this.image, that.image)) {
    return false;
  }
  return super.equals(obj);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Tests this instance for equality with an arbitrary object.
     * 
     * @param obj  the object (<code>null</code> permitted).
     * 
     * @return A boolean.
     */
/**
     * Tests this <code>ImageTitle</code> for equality with an arbitrary
     * object.  Returns <code>true</code> if:
     * <ul>
     * <li><code>obj</code> is an instance of <code>ImageTitle</code>;
     * <li><code>obj</code> references the same image as this
     *     <code>ImageTitle</code>;
     * <li><code>super.equals(obj)<code> returns <code>true</code>;
     * </ul>
     *
     * @param obj  the object (<code>null</code> permitted).
     *
     * @return A boolean.
     */
/**
     * Tests this renderer 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 [[#variable1a9e8520]])) {
    return false;
  }
   [[#variable1a9e8520]] that = ( [[#variable1a9e8520]]) obj;
  if ( !ObjectUtilities.equal(this. [[#variable1a9e84c0]], that. [[#variable1a9e84c0]])) {
    return false;
  }
  return super.equals(obj);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a9e8520]]
CategoryLabelEntity 
12[[#1a9e8520]]
YIntervalRenderer 
13[[#1a9e8520]]
ImageTitle 
21[[#1a9e84c0]]
key 
22[[#1a9e84c0]]
additionalItemLabelGenerator 
23[[#1a9e84c0]]
image