CloneSet 686

# CloneSet686

Previous CloneSet | Next CloneSet | Back to Main Report

Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length]
--- | --- | --- | --- | ---
11 | 2 | 2 | 0.974 | method_declaration

Clone Abstraction | Parameter Bindings

Clone Instance (Click to see clone) | Line Count | Source Line | Source File
--- | --- | --- | ---

1

11

3943

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/XYPlot.java

2

11

3965

    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 Abstraction | Parameter Count: 2 | Parameter 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
--- | --- | --- | ---

1

1

`[[#18cfcda0]]`

    getDomainAxisIndex

1

2

`[[#18cfcda0]]`

    getRangeAxisIndex

2

1

`[[#18cfcd40]]`

    domainAxes

2

2

`[[#18cfcd40]]`

    rangeAxes