CloneSet949


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18210.966method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19353
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYIntervalSeriesCollection.java
218379
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYSeriesCollection.java
Next
Last
Clone Instance
1
Line Count
9
Source Line
353
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYIntervalSeriesCollection.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 XYIntervalSeriesCollection)) {
    return false;
  }
  XYIntervalSeriesCollection that = (XYIntervalSeriesCollection) obj;
  return ObjectUtilities.equal(this.data, that.data);
}


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

/**
 * Tests this collection for equality with an arbitrary object.
 *
 * @param obj  the object (<code>null</code> permitted).
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
  /*
   * XXX
   *
   * what about  the interval delegate...?
   * The interval width etc wasn't considered
   * before, hence i did not add it here (AS)
   *
   */
  if (obj == this ) {
    return true;
  }
  if ( !(obj instanceof XYSeriesCollection)) {
    return false;
  }
  XYSeriesCollection that = (XYSeriesCollection) obj;
  return ObjectUtilities.equal(this.data, that.data);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Tests this collection for equality with an arbitrary object.
     *
     * @param obj  the object (<code>null</code> permitted).
     *
     * @return A boolean.
     */
/**
     * 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) {
  /*
           * XXX
           *
           * what about  the interval delegate...?
           * The interval width etc wasn't considered
           * before, hence i did not add it here (AS)
           *
           */
  if (obj == this ) {
    return true;
  }
  if ( !(obj instanceof [[#variable18e03440]])) {
    return false;
  }
   [[#variable18e03440]] that = ( [[#variable18e03440]]) obj;
  return ObjectUtilities.equal(this.data, that.data);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18e03440]]
XYIntervalSeriesCollection 
12[[#18e03440]]
XYSeriesCollection