CloneSet617


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3401.000method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13960
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/Axis.java
23178
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/AbstractDialLayer.java
333246
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/AbstractRenderer.java
43148
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/general/AbstractDataset.java
Next
Last
Clone Instance
1
Line Count
3
Source Line
960
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/Axis.java

/**
 * Returns <code>true</code> if the specified object is registered with
 * the dataset as a listener.  Most applications won't need to call this
 * method, it exists mainly for use by unit testing code.
 *
 * @param listener  the listener.
 *
 * @return A boolean.
 */
public boolean hasListener(EventListener listener) {
  List list = Arrays.asList(this.listenerList.getListenerList());
  return list.contains(listener);
}


Next
Previous
Clone Instance
2
Line Count
3
Source Line
178
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/AbstractDialLayer.java

/**
 * Returns <code>true</code> if the specified object is registered with
 * the dataset as a listener.  Most applications won't need to call this 
 * method, it exists mainly for use by unit testing code.
 * 
 * @param listener  the listener.
 * 
 * @return A boolean.
 */
public boolean hasListener(EventListener listener) {
  List list = Arrays.asList(this.listenerList.getListenerList());
  return list.contains(listener);
}


Next
Previous
Clone Instance
3
Line Count
3
Source Line
3246
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/AbstractRenderer.java

/**
 * Returns <code>true</code> if the specified object is registered with
 * the dataset as a listener.  Most applications won't need to call this
 * method, it exists mainly for use by unit testing code.
 *
 * @param listener  the listener.
 *
 * @return A boolean.
 */
public boolean hasListener(EventListener listener) {
  List list = Arrays.asList(this.listenerList.getListenerList());
  return list.contains(listener);
}


First
Previous
Clone Instance
4
Line Count
3
Source Line
148
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/general/AbstractDataset.java

/**
 * Returns <code>true</code> if the specified object is registered with
 * the dataset as a listener.  Most applications won't need to call this 
 * method, it exists mainly for use by unit testing code.
 * 
 * @param listener  the listener.
 * 
 * @return A boolean.
 */
public boolean hasListener(EventListener listener) {
  List list = Arrays.asList(this.listenerList.getListenerList());
  return list.contains(listener);
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Returns <code>true</code> if the specified object is registered with
     * the dataset as a listener.  Most applications won't need to call this
     * method, it exists mainly for use by unit testing code.
     *
     * @param listener  the listener.
     *
     * @return A boolean.
     */
/**
     * Returns <code>true</code> if the specified object is registered with
     * the dataset as a listener.  Most applications won't need to call this 
     * method, it exists mainly for use by unit testing code.
     * 
     * @param listener  the listener.
     * 
     * @return A boolean.
     */
public boolean hasListener(EventListener listener) {
  List list = Arrays.asList(this.listenerList.getListenerList());
  return list.contains(listener);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None