CloneSet1198


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.971method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14855
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeries.java
24640
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYSeries.java
Next
Last
Clone Instance
1
Line Count
4
Source Line
855
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeries.java

/**
 * Returns a clone of the time series.
 * <P>
 * Notes:
 * <ul>
 *   <li>no need to clone the domain and range descriptions, since String
 *     object is immutable;</li>
 *   <li>we pass over to the more general method clone(start, end).</li>
 * </ul>
 *
 * @return A clone of the time series.
 *
 * @throws CloneNotSupportedException not thrown by this class, but
 *         subclasses may differ.
 */
public Object clone() throws CloneNotSupportedException {
  TimeSeries clone = (TimeSeries) super.clone();
  clone.data = (List) ObjectUtilities.deepClone(this.data);
  return clone;
}


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

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


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Returns a clone of the time series.
     * <P>
     * Notes:
     * <ul>
     *   <li>no need to clone the domain and range descriptions, since String
     *     object is immutable;</li>
     *   <li>we pass over to the more general method clone(start, end).</li>
     * </ul>
     *
     * @return A clone of the time series.
     *
     * @throws CloneNotSupportedException not thrown by this class, but
     *         subclasses may differ.
     */
/**
     * Returns a clone of the series.
     *
     * @return A clone of the series.
     *
     * @throws CloneNotSupportedException if there is a cloning problem.
     */
public Object clone() throws CloneNotSupportedException {
   [[#variable18ed8140]] clone = ( [[#variable18ed8140]]) super.clone();
  clone.data = (List) ObjectUtilities.deepClone(this.data);
  return clone;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18ed8140]]
TimeSeries 
12[[#18ed8140]]
XYSeries