CloneSet154


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
35310.982class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
134182
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CombinedDomainXYPlot.java
235388
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CombinedRangeCategoryPlot.java
335562
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CombinedRangeXYPlot.java
Next
Last
Clone Instance
1
Line Count
34
Source Line
182
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CombinedDomainXYPlot.java

/**
 * Sets the orientation for the plot (also changes the orientation for all
 * the subplots to match).
 *
 * @param orientation  the orientation (<code>null</code> not allowed).
 */
public void setOrientation(PlotOrientation orientation) {
  super.setOrientation(orientation);
  Iterator iterator = this.subplots.iterator();
  while (iterator.hasNext()) {
    XYPlot plot = (XYPlot) iterator.next();
    plot.setOrientation(orientation);
  }
}

/**
 * Returns a range representing the extent of the data values in this plot
 * (obtained from the subplots) that will be rendered against the specified
 * axis.  NOTE: This method is intended for internal JFreeChart use, and
 * is public only so that code in the axis classes can call it.  Since
 * only the domain axis is shared between subplots, the JFreeChart code
 * will only call this method for the domain values (although this is not
 * checked/enforced).
 *
 * @param axis  the axis.
 *
 * @return The range (possibly <code>null</code>).
 */
public Range getDataRange(ValueAxis axis) {
  Range result = null;
  if (this.subplots != null) {
    Iterator iterator = this.subplots.iterator();
    while (iterator.hasNext()) {
      XYPlot subplot = (XYPlot) iterator.next();
      result = Range.combine(result, subplot.getDataRange(axis));
    }
  }
  return result;
}


Next
Previous
Clone Instance
2
Line Count
35
Source Line
388
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CombinedRangeCategoryPlot.java

/**
 * Sets the orientation for the plot (and all the subplots).
 * 
 * @param orientation  the orientation.
 */
public void setOrientation(PlotOrientation orientation) {
  super.setOrientation(orientation);
  Iterator iterator = this.subplots.iterator();
  while (iterator.hasNext()) {
    CategoryPlot plot = (CategoryPlot) iterator.next();
    plot.setOrientation(orientation);
  }
}

/**
 * Returns a range representing the extent of the data values in this plot
 * (obtained from the subplots) that will be rendered against the specified 
 * axis.  NOTE: This method is intended for internal JFreeChart use, and 
 * is public only so that code in the axis classes can call it.  Since 
 * only the range axis is shared between subplots, the JFreeChart code 
 * will only call this method for the range values (although this is not 
 * checked/enforced).
  *
  * @param axis  the axis.
  *
  * @return The range.
  */
public Range getDataRange(ValueAxis axis) {
  Range result = null;
  if (this.subplots != null) {
    Iterator iterator = this.subplots.iterator();
    while (iterator.hasNext()) {
      CategoryPlot subplot = (CategoryPlot) iterator.next();
      result = Range.combine(result, subplot.getDataRange(axis));
    }
  }
  return result;
}


First
Previous
Clone Instance
3
Line Count
35
Source Line
562
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CombinedRangeXYPlot.java

/**
 * Sets the orientation for the plot (and all its subplots).
 *
 * @param orientation  the orientation.
 */
public void setOrientation(PlotOrientation orientation) {
  super.setOrientation(orientation);
  Iterator iterator = this.subplots.iterator();
  while (iterator.hasNext()) {
    XYPlot plot = (XYPlot) iterator.next();
    plot.setOrientation(orientation);
  }
}

/**
 * Returns a range representing the extent of the data values in this plot
 * (obtained from the subplots) that will be rendered against the specified
 * axis.  NOTE: This method is intended for internal JFreeChart use, and
 * is public only so that code in the axis classes can call it.  Since
 * only the range axis is shared between subplots, the JFreeChart code
 * will only call this method for the range values (although this is not
 * checked/enforced).
 *
 * @param axis  the axis.
 *
 * @return The range.
 */
public Range getDataRange(ValueAxis axis) {
  Range result = null;
  if (this.subplots != null) {
    Iterator iterator = this.subplots.iterator();
    while (iterator.hasNext()) {
      XYPlot subplot = (XYPlot) iterator.next();
      result = Range.combine(result, subplot.getDataRange(axis));
    }
  }
  return result;
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Sets the orientation for the plot (and all its subplots).
     *
     * @param orientation  the orientation.
     */
/**
     * Sets the orientation for the plot (and all the subplots).
     * 
     * @param orientation  the orientation.
     */
/**
     * Sets the orientation for the plot (also changes the orientation for all
     * the subplots to match).
     *
     * @param orientation  the orientation (<code>null</code> not allowed).
     */
public void setOrientation(PlotOrientation orientation) {
  super.setOrientation(orientation);
  Iterator iterator = this.subplots.iterator();
  while (iterator.hasNext()) {
     [[#variable1aa9a200]] plot = ( [[#variable1aa9a200]]) iterator.next();
    plot.setOrientation(orientation);
  }
}

/**
     * Returns a range representing the extent of the data values in this plot
     * (obtained from the subplots) that will be rendered against the specified
     * axis.  NOTE: This method is intended for internal JFreeChart use, and
     * is public only so that code in the axis classes can call it.  Since
     * only the range axis is shared between subplots, the JFreeChart code
     * will only call this method for the range values (although this is not
     * checked/enforced).
     *
     * @param axis  the axis.
     *
     * @return The range.
     */
/**
     * Returns a range representing the extent of the data values in this plot
     * (obtained from the subplots) that will be rendered against the specified 
     * axis.  NOTE: This method is intended for internal JFreeChart use, and 
     * is public only so that code in the axis classes can call it.  Since 
     * only the range axis is shared between subplots, the JFreeChart code 
     * will only call this method for the range values (although this is not 
     * checked/enforced).
      *
      * @param axis  the axis.
      *
      * @return The range.
      */
/**
     * Returns a range representing the extent of the data values in this plot
     * (obtained from the subplots) that will be rendered against the specified
     * axis.  NOTE: This method is intended for internal JFreeChart use, and
     * is public only so that code in the axis classes can call it.  Since
     * only the domain axis is shared between subplots, the JFreeChart code
     * will only call this method for the domain values (although this is not
     * checked/enforced).
     *
     * @param axis  the axis.
     *
     * @return The range (possibly <code>null</code>).
     */
public Range getDataRange(ValueAxis axis) {
  Range result = null;
  if (this.subplots != null) {
    Iterator iterator = this.subplots.iterator();
    while (iterator.hasNext()) {
       [[#variable1aa9a200]] subplot = ( [[#variable1aa9a200]]) iterator.next();
      result = Range.combine(result, subplot.getDataRange(axis));
    }
  }
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1aa9a200]]
XYPlot 
12[[#1aa9a200]]
CategoryPlot 
13[[#1aa9a200]]
XYPlot