Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.965 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 140 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/AbstractDialLayer.java |
2 | 4 | 189 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/general/AbstractDataset.java |
| |||||
/** * Returns a clone of this instance. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning this * instance. */ public Object clone() throws CloneNotSupportedException { AbstractDialLayer clone = (AbstractDialLayer) super.clone(); // we don't clone the listeners clone.listenerList = new EventListenerList(); return clone; } |
| |||||
/** * Returns a clone of the dataset. The cloned dataset will NOT include the * {@link DatasetChangeListener} references that have been registered with * this dataset. * * @return A clone. * * @throws CloneNotSupportedException if the dataset does not support * cloning. */ public Object clone() throws CloneNotSupportedException { AbstractDataset clone = (AbstractDataset) super.clone(); clone.listenerList = new EventListenerList(); return clone; } |
| |||
/** * Returns a clone of this instance. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning this * instance. */ /** * Returns a clone of the dataset. The cloned dataset will NOT include the * {@link DatasetChangeListener} references that have been registered with * this dataset. * * @return A clone. * * @throws CloneNotSupportedException if the dataset does not support * cloning. */ public Object clone() throws CloneNotSupportedException { [[#variable18f97c40]] clone = ( [[#variable18f97c40]]) super.clone(); // we don't clone the listeners clone.listenerList = new EventListenerList(); return clone; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18f97c40]] | AbstractDialLayer |
1 | 2 | [[#18f97c40]] | AbstractDataset |