CloneSet775


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

/**
 * Returns the location for a domain axis.
 *
 * @param index  the axis index.
 *
 * @return The location.
 *
 * @see #setDomainAxisLocation(int, AxisLocation)
 */
public AxisLocation getDomainAxisLocation(int index) {
  AxisLocation result = null;
  if (index < this.domainAxisLocations.size()) {
    result = (AxisLocation) this.domainAxisLocations.get(index);
  }
  if (result == null) {
    result = AxisLocation.getOpposite(getDomainAxisLocation(0));
  }
  return result;
}


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

/**
 * Returns the location for a range axis.
 *
 * @param index  the axis index.
 *
 * @return The location.
 *
 * @see #setRangeAxisLocation(int, AxisLocation)
 */
public AxisLocation getRangeAxisLocation(int index) {
  AxisLocation result = null;
  if (index < this.rangeAxisLocations.size()) {
    result = (AxisLocation) this.rangeAxisLocations.get(index);
  }
  if (result == null) {
    result = AxisLocation.getOpposite(getRangeAxisLocation(0));
  }
  return result;
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Returns the location for a range axis.
     *
     * @param index  the axis index.
     *
     * @return The location.
     *
     * @see #setRangeAxisLocation(int, AxisLocation)
     */
/**
     * Returns the location for a domain axis.
     *
     * @param index  the axis index.
     *
     * @return The location.
     *
     * @see #setDomainAxisLocation(int, AxisLocation)
     */
public AxisLocation  [[#variable18d57c00]](int index) {
  AxisLocation result = null;
  if (index < this. [[#variable18d57ae0]].size()) {
    result = (AxisLocation) this. [[#variable18d57ae0]].get(index);
  }
  if (result == null) {
    result = AxisLocation.getOpposite( [[#variable18d57c00]](0));
  }
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18d57c00]]
getDomainAxisLocation 
12[[#18d57c00]]
getRangeAxisLocation 
21[[#18d57ae0]]
domainAxisLocations 
22[[#18d57ae0]]
rangeAxisLocations