CloneSet508


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13220.965method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113892
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CategoryPlot.java
2131056
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
892
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CategoryPlot.java

/**
 * Returns a range axis.
 *
 * @param index  the axis index.
 *
 * @return The axis (<code>null</code> possible).
 */
public ValueAxis getRangeAxis(int index) {
  ValueAxis result = null;
  if (index < this.rangeAxes.size()) {
    result = (ValueAxis) this.rangeAxes.get(index);
  }
  if (result == null) {
    Plot parent = getParent();
    if (parent instanceof CategoryPlot) {
      CategoryPlot cp = (CategoryPlot) parent;
      result = cp.getRangeAxis(index);
    }
  }
  return result;
}


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

/**
 * Returns a range axis.
 *
 * @param index  the axis index.
 *
 * @return The axis (<code>null</code> possible).
 *
 * @see #setRangeAxis(int, ValueAxis)
 */
public ValueAxis getRangeAxis(int index) {
  ValueAxis result = null;
  if (index < this.rangeAxes.size()) {
    result = (ValueAxis) this.rangeAxes.get(index);
  }
  if (result == null) {
    Plot parent = getParent();
    if (parent instanceof XYPlot) {
      XYPlot xy = (XYPlot) parent;
      result = xy.getRangeAxis(index);
    }
  }
  return result;
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Returns a range axis.
     *
     * @param index  the axis index.
     *
     * @return The axis (<code>null</code> possible).
     */
/**
     * Returns a range axis.
     *
     * @param index  the axis index.
     *
     * @return The axis (<code>null</code> possible).
     *
     * @see #setRangeAxis(int, ValueAxis)
     */
public ValueAxis getRangeAxis(int index) {
  ValueAxis result = null;
  if (index < this.rangeAxes.size()) {
    result = (ValueAxis) this.rangeAxes.get(index);
  }
  if (result == null) {
    Plot parent = getParent();
    if (parent instanceof [[#variable1a9f7020]]) {
       [[#variable1a9f7020]]  [[#variable1a9f2480]]= ( [[#variable1a9f7020]]) parent;
      result = [[#variable1a9f2480]].getRangeAxis(index);
    }
  }
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a9f7020]]
CategoryPlot 
12[[#1a9f7020]]
XYPlot 
21[[#1a9f2480]]
cp 
22[[#1a9f2480]]
xy