CloneSet180


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13430.981method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1132042
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CategoryPlot.java
2132315
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CategoryPlot.java
3133671
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/XYPlot.java
4133697
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/XYPlot.java
Next
Last
Clone Instance
1
Line Count
13
Source Line
2042
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CategoryPlot.java

/**
 * Returns a collection of domain markers for a particular renderer and
 * layer.
 *
 * @param index  the renderer index.
 * @param layer  the layer.
 *
 * @return A collection of markers (possibly <code>null</code>).
 */
public Collection getDomainMarkers(int index, Layer layer) {
  Collection result = null;
  Integer key = new Integer(index);
  if (layer == Layer.FOREGROUND) {
    result = (Collection) this.foregroundDomainMarkers.get(key);
  }
  else
    if (layer == Layer.BACKGROUND) {
      result = (Collection) this.backgroundDomainMarkers.get(key);
    }
  if (result != null) {
    result = Collections.unmodifiableCollection(result);
  }
  return result;
}


Next
Previous
Clone Instance
2
Line Count
13
Source Line
2315
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CategoryPlot.java

/**
 * Returns a collection of range markers for a particular renderer and
 * layer.
 *
 * @param index  the renderer index.
 * @param layer  the layer.
 *
 * @return A collection of markers (possibly <code>null</code>).
 */
public Collection getRangeMarkers(int index, Layer layer) {
  Collection result = null;
  Integer key = new Integer(index);
  if (layer == Layer.FOREGROUND) {
    result = (Collection) this.foregroundRangeMarkers.get(key);
  }
  else
    if (layer == Layer.BACKGROUND) {
      result = (Collection) this.backgroundRangeMarkers.get(key);
    }
  if (result != null) {
    result = Collections.unmodifiableCollection(result);
  }
  return result;
}


Next
Previous
Clone Instance
3
Line Count
13
Source Line
3671
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/XYPlot.java

/**
 * Returns a collection of domain markers for a particular renderer and
 * layer.
 *
 * @param index  the renderer index.
 * @param layer  the layer.
 *
 * @return A collection of markers (possibly <code>null</code>).
 *
 * @see #getRangeMarkers(int, Layer)
 */
public Collection getDomainMarkers(int index, Layer layer) {
  Collection result = null;
  Integer key = new Integer(index);
  if (layer == Layer.FOREGROUND) {
    result = (Collection) this.foregroundDomainMarkers.get(key);
  }
  else
    if (layer == Layer.BACKGROUND) {
      result = (Collection) this.backgroundDomainMarkers.get(key);
    }
  if (result != null) {
    result = Collections.unmodifiableCollection(result);
  }
  return result;
}


First
Previous
Clone Instance
4
Line Count
13
Source Line
3697
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/XYPlot.java

/**
 * Returns a collection of range markers for a particular renderer and
 * layer.
 *
 * @param index  the renderer index.
 * @param layer  the layer.
 *
 * @return A collection of markers (possibly <code>null</code>).
 *
 * @see #getDomainMarkers(int, Layer)
 */
public Collection getRangeMarkers(int index, Layer layer) {
  Collection result = null;
  Integer key = new Integer(index);
  if (layer == Layer.FOREGROUND) {
    result = (Collection) this.foregroundRangeMarkers.get(key);
  }
  else
    if (layer == Layer.BACKGROUND) {
      result = (Collection) this.backgroundRangeMarkers.get(key);
    }
  if (result != null) {
    result = Collections.unmodifiableCollection(result);
  }
  return result;
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
     * Returns a collection of range markers for a particular renderer and
     * layer.
     *
     * @param index  the renderer index.
     * @param layer  the layer.
     *
     * @return A collection of markers (possibly <code>null</code>).
     */
/**
     * Returns a collection of domain markers for a particular renderer and
     * layer.
     *
     * @param index  the renderer index.
     * @param layer  the layer.
     *
     * @return A collection of markers (possibly <code>null</code>).
     */
/**
     * Returns a collection of range markers for a particular renderer and
     * layer.
     *
     * @param index  the renderer index.
     * @param layer  the layer.
     *
     * @return A collection of markers (possibly <code>null</code>).
     *
     * @see #getDomainMarkers(int, Layer)
     */
/**
     * Returns a collection of domain markers for a particular renderer and
     * layer.
     *
     * @param index  the renderer index.
     * @param layer  the layer.
     *
     * @return A collection of markers (possibly <code>null</code>).
     *
     * @see #getRangeMarkers(int, Layer)
     */
public Collection  [[#variable1aae3f60]](int index, Layer layer) {
  Collection result = null;
  Integer key = new Integer(index);
  if (layer == Layer.FOREGROUND) {
    result = (Collection) this. [[#variable1aae30a0]].get(key);
  }
  else
    if (layer == Layer.BACKGROUND) {
      result = (Collection) this. [[#variable1aae3da0]].get(key);
    }
  if (result != null) {
    result = Collections.unmodifiableCollection(result);
  }
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1aae3f60]]
getDomainMarkers 
12[[#1aae3f60]]
getRangeMarkers 
13[[#1aae3f60]]
getDomainMarkers 
14[[#1aae3f60]]
getRangeMarkers 
21[[#1aae30a0]]
foregroundDomainMarkers 
22[[#1aae30a0]]
foregroundRangeMarkers 
23[[#1aae30a0]]
foregroundDomainMarkers 
24[[#1aae30a0]]
foregroundRangeMarkers 
31[[#1aae3da0]]
backgroundDomainMarkers 
32[[#1aae3da0]]
backgroundRangeMarkers 
33[[#1aae3da0]]
backgroundDomainMarkers 
34[[#1aae3da0]]
backgroundRangeMarkers