CloneSet695


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
25220.956class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
125104
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/AxisLocation.java
22584
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/CategoryLabelWidthType.java
Next
Last
Clone Instance
1
Line Count
25
Source Line
104
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/AxisLocation.java

/**
 * Returns a string representing the object.
 *
 * @return The string.
 */
public String toString() {
  return this.name;
}

/**
 * Returns <code>true</code> if this object is equal to the specified 
 * object, and <code>false</code> otherwise.
 *
 * @param obj  the other object (<code>null</code> permitted).
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if ( !(obj instanceof AxisLocation)) {
    return false;
  }
  AxisLocation location = (AxisLocation) obj;
  if ( !this.name.equals(location.toString())) {
    return false;
  }
  return true;
}


First
Previous
Clone Instance
2
Line Count
25
Source Line
84
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/CategoryLabelWidthType.java

/**
 * Returns a string representing the object.
 *
 * @return The string (never </code>null</code>).
 */
public String toString() {
  return this.name;
}

/**
 * Returns <code>true</code> if this object is equal to the specified 
 * object, and <code>false</code> otherwise.
 *
 * @param obj  the other object.
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if ( !(obj instanceof CategoryLabelWidthType)) {
    return false;
  }
  CategoryLabelWidthType t = (CategoryLabelWidthType) obj;
  if ( !this.name.equals(t.toString())) {
    return false;
  }
  return true;
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Returns a string representing the object.
     *
     * @return The string (never </code>null</code>).
     */
/**
     * Returns a string representing the object.
     *
     * @return The string.
     */
public String toString() {
  return this.name;
}

/**
     * Returns <code>true</code> if this object is equal to the specified 
     * object, and <code>false</code> otherwise.
     *
     * @param obj  the other object.
     *
     * @return A boolean.
     */
/**
     * Returns <code>true</code> if this object is equal to the specified 
     * object, and <code>false</code> otherwise.
     *
     * @param obj  the other object (<code>null</code> permitted).
     *
     * @return A boolean.
     */
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if ( !(obj instanceof [[#variable18ccfc80]])) {
    return false;
  }
   [[#variable18ccfc80]]  [[#variable18ccfc20]]= ( [[#variable18ccfc80]]) obj;
  if ( !this.name.equals( [[#variable18ccfc20]].toString())) {
    return false;
  }
  return true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18ccfc80]]
AxisLocation 
12[[#18ccfc80]]
CategoryLabelWidthType 
21[[#18ccfc20]]
location 
22[[#18ccfc20]]
t