CloneSet686


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

/**
 * Returns the index of the given domain axis.
 *
 * @param axis  the axis.
 *
 * @return The axis index.
 *
 * @see #getRangeAxisIndex(ValueAxis)
 */
public int getDomainAxisIndex(ValueAxis axis) {
  int result = this.domainAxes.indexOf(axis);
  if (result < 0) {
    // try the parent plot
    Plot parent = getParent();
    if (parent instanceof XYPlot) {
      XYPlot p = (XYPlot) parent;
      result = p.getDomainAxisIndex(axis);
    }
  }
  return result;
}


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

/**
 * Returns the index of the given range axis.
 *
 * @param axis  the axis.
 *
 * @return The axis index.
 *
 * @see #getDomainAxisIndex(ValueAxis)
 */
public int getRangeAxisIndex(ValueAxis axis) {
  int result = this.rangeAxes.indexOf(axis);
  if (result < 0) {
    // try the parent plot
    Plot parent = getParent();
    if (parent instanceof XYPlot) {
      XYPlot p = (XYPlot) parent;
      result = p.getRangeAxisIndex(axis);
    }
  }
  return result;
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Returns the index of the given range axis.
     *
     * @param axis  the axis.
     *
     * @return The axis index.
     *
     * @see #getDomainAxisIndex(ValueAxis)
     */
/**
     * Returns the index of the given domain axis.
     *
     * @param axis  the axis.
     *
     * @return The axis index.
     *
     * @see #getRangeAxisIndex(ValueAxis)
     */
public int  [[#variable18cfcda0]](ValueAxis axis) {
  int result = this. [[#variable18cfcd40]].indexOf(axis);
  if (result < 0) {
    // try the parent plot
    Plot parent = getParent();
    if (parent instanceof XYPlot) {
      XYPlot p = (XYPlot) parent;
      result = p. [[#variable18cfcda0]](axis);
    }
  }
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18cfcda0]]
getDomainAxisIndex 
12[[#18cfcda0]]
getRangeAxisIndex 
21[[#18cfcd40]]
domainAxes 
22[[#18cfcd40]]
rangeAxes