CloneSet175


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23410.968class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
123328
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/ohlc/OHLCSeriesCollection.java
223304
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/VectorSeriesCollection.java
323330
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XIntervalSeriesCollection.java
423328
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/YIntervalSeriesCollection.java
Next
Last
Clone Instance
1
Line Count
23
Source Line
328
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/ohlc/OHLCSeriesCollection.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 OHLCSeriesCollection)) {
    return false;
  }
  OHLCSeriesCollection that = (OHLCSeriesCollection) obj;
  return ObjectUtilities.equal(this.data, that.data);
}

/**
 * Returns a clone of this instance.
 * 
 * @return A clone.
 * 
 * @throws CloneNotSupportedException if there is a problem.
 */
public Object clone() throws CloneNotSupportedException {
  OHLCSeriesCollection clone = (OHLCSeriesCollection) super.clone();
  clone.data = (List) ObjectUtilities.deepClone(this.data);
  return clone;
}


Next
Previous
Clone Instance
2
Line Count
23
Source Line
304
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/VectorSeriesCollection.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 VectorSeriesCollection)) {
    return false;
  }
  VectorSeriesCollection that = (VectorSeriesCollection) obj;
  return ObjectUtilities.equal(this.data, that.data);
}

/**
 * Returns a clone of this instance.
 *
 * @return A clone.
 *
 * @throws CloneNotSupportedException if there is a problem.
 */
public Object clone() throws CloneNotSupportedException {
  VectorSeriesCollection clone = (VectorSeriesCollection) super.clone();
  clone.data = (List) ObjectUtilities.deepClone(this.data);
  return clone;
}


Next
Previous
Clone Instance
3
Line Count
23
Source Line
330
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XIntervalSeriesCollection.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 XIntervalSeriesCollection)) {
    return false;
  }
  XIntervalSeriesCollection that = (XIntervalSeriesCollection) obj;
  return ObjectUtilities.equal(this.data, that.data);
}

/**
 * Returns a clone of this instance.
 *
 * @return A clone.
 *
 * @throws CloneNotSupportedException if there is a problem.
 */
public Object clone() throws CloneNotSupportedException {
  XIntervalSeriesCollection clone = (XIntervalSeriesCollection) super.clone();
  clone.data = (List) ObjectUtilities.deepClone(this.data);
  return clone;
}


First
Previous
Clone Instance
4
Line Count
23
Source Line
328
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/YIntervalSeriesCollection.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 YIntervalSeriesCollection)) {
    return false;
  }
  YIntervalSeriesCollection that = (YIntervalSeriesCollection) obj;
  return ObjectUtilities.equal(this.data, that.data);
}

/**
 * Returns a clone of this instance.
 *
 * @return A clone.
 *
 * @throws CloneNotSupportedException if there is a problem.
 */
public Object clone() throws CloneNotSupportedException {
  YIntervalSeriesCollection clone = (YIntervalSeriesCollection) super.clone();
  clone.data = (List) ObjectUtilities.deepClone(this.data);
  return clone;
}


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. 
     */
/**
     * 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 [[#variable1aad9b20]])) {
    return false;
  }
   [[#variable1aad9b20]] that = ( [[#variable1aad9b20]]) obj;
  return ObjectUtilities.equal(this.data, that.data);
}

/**
     * Returns a clone of this instance.
     * 
     * @return A clone.
     * 
     * @throws CloneNotSupportedException if there is a problem.
     */
/**
     * Returns a clone of this instance.
     *
     * @return A clone.
     *
     * @throws CloneNotSupportedException if there is a problem.
     */
public Object clone() throws CloneNotSupportedException {
   [[#variable1aad9b20]] clone = ( [[#variable1aad9b20]]) super.clone();
  clone.data = (List) ObjectUtilities.deepClone(this.data);
  return clone;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1aad9b20]]
OHLCSeriesCollection 
12[[#1aad9b20]]
VectorSeriesCollection 
13[[#1aad9b20]]
XIntervalSeriesCollection 
14[[#1aad9b20]]
YIntervalSeriesCollection