CloneSet 304

# CloneSet304

Previous CloneSet | Next CloneSet | Back to Main Report

Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length]
--- | --- | --- | --- | ---
18 | 3 | 1 | 0.978 | method_declaration

Clone Abstraction | Parameter Bindings

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

1

18

726

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/BarRenderer3D.java

2

18

615

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/LineRenderer3D.java

3

18

237

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYLine3DRenderer.java

Next
Last

Clone Instance
1

Line Count
18

Source Line
726

Source File

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/BarRenderer3D.java

    /**
     * Tests this renderer for equality with an arbitrary object.
     *
     * @param obj  the object (<code>null</code> permitted).
     *
     * @return A boolean.
     */
    public boolean equals(Object obj) {
      if (obj == this ) {
        return true;
      }
      if ( !(obj instanceof BarRenderer3D)) {
        return false;
      }
      BarRenderer3D that = (BarRenderer3D) obj;
      if (this.xOffset != that.xOffset) {
        return false;
      }
      if (this.yOffset != that.yOffset) {
        return false;
      }
      if ( !PaintUtilities.equal(this.wallPaint, that.wallPaint)) {
        return false;
      }
      return super.equals(obj);
    }

Next
Previous

Clone Instance
2

Line Count
18

Source Line
615

Source File

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/LineRenderer3D.java

    /**
     * Checks this renderer for equality with an arbitrary object.
     *
     * @param obj  the object (<code>null</code> permitted).
     *
     * @return A boolean.
     */
    public boolean equals(Object obj) {
      if (obj == this ) {
        return true;
      }
      if ( !(obj instanceof LineRenderer3D)) {
        return false;
      }
      LineRenderer3D that = (LineRenderer3D) obj;
      if (this.xOffset != that.xOffset) {
        return false;
      }
      if (this.yOffset != that.yOffset) {
        return false;
      }
      if ( !PaintUtilities.equal(this.wallPaint, that.wallPaint)) {
        return false;
      }
      return super.equals(obj);
    }

First
Previous

Clone Instance
3

Line Count
18

Source Line
237

Source File

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYLine3DRenderer.java

    /**
     * Tests this renderer for equality with an arbitrary object.
     *
     * @param obj  the object (<code>null</code> permitted).
     *
     * @return A boolean.
     */
    public boolean equals(Object obj) {
      if (obj == this ) {
        return true;
      }
      if ( !(obj instanceof XYLine3DRenderer)) {
        return false;
      }
      XYLine3DRenderer that = (XYLine3DRenderer) obj;
      if (this.xOffset != that.xOffset) {
        return false;
      }
      if (this.yOffset != that.yOffset) {
        return false;
      }
      if ( !PaintUtilities.equal(this.wallPaint, that.wallPaint)) {
        return false;
      }
      return super.equals(obj);
    }

Clone Abstraction | Parameter Count: 1 | Parameter Bindings

    /**
         * Tests this renderer for equality with an arbitrary object.
         *
         * @param obj  the object (<code>null</code> permitted).
         *
         * @return A boolean.
         */
    /**
         * Checks this renderer for equality with an arbitrary object.
         *
         * @param obj  the object (<code>null</code> permitted).
         *
         * @return A boolean.
         */
    /**
         * Tests this renderer for equality with an arbitrary object.
         *
         * @param obj  the object (<code>null</code> permitted).
         *
         * @return A boolean.
         */
    public boolean equals(Object obj) {
      if (obj == this ) {
        return true;
      }
      if ( !(obj instanceof [[#variable1a8cafe0]])) {
        return false;
      }
       [[#variable1a8cafe0]] that = ( [[#variable1a8cafe0]]) obj;
      if (this.xOffset != that.xOffset) {
        return false;
      }
      if (this.yOffset != that.yOffset) {
        return false;
      }
      if ( !PaintUtilities.equal(this.wallPaint, that.wallPaint)) {
        return false;
      }
      return super.equals(obj);
    }

CloneAbstraction

Parameter Bindings
Parameter Index | Clone Instance | Parameter Name | Value
--- | --- | --- | ---

1

1

`[[#1a8cafe0]]`

    BarRenderer3D

1

2

`[[#1a8cafe0]]`

    LineRenderer3D

1

3

`[[#1a8cafe0]]`

    XYLine3DRenderer