CloneSet498


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

/**
* Returns a collection of legend items for the plot.
*
* @return The legend items.
*/
public LegendItemCollection getLegendItems() {
  LegendItemCollection result = getFixedLegendItems();
  if (result == null) {
    result = new LegendItemCollection();
    if (this.subplots != null) {
      Iterator iterator = this.subplots.iterator();
      while (iterator.hasNext()) {
        CategoryPlot plot = (CategoryPlot) iterator.next();
        LegendItemCollection more = plot.getLegendItems();
        result.addAll(more);
      }
    }
  }
  return result;
}


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

/**
 * Returns a collection of legend items for the plot.
 *
 * @return The legend items.
 */
public LegendItemCollection getLegendItems() {
  LegendItemCollection result = getFixedLegendItems();
  if (result == null) {
    result = new LegendItemCollection();
    if (this.subplots != null) {
      Iterator iterator = this.subplots.iterator();
      while (iterator.hasNext()) {
        CategoryPlot plot = (CategoryPlot) iterator.next();
        LegendItemCollection more = plot.getLegendItems();
        result.addAll(more);
      }
    }
  }
  return result;
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Returns a collection of legend items for the plot.
     *
     * @return The legend items.
     */
public LegendItemCollection getLegendItems() {
  LegendItemCollection result = getFixedLegendItems();
  if (result == null) {
    result = new LegendItemCollection();
    if (this.subplots != null) {
      Iterator iterator = this.subplots.iterator();
      while (iterator.hasNext()) {
        CategoryPlot plot = (CategoryPlot) iterator.next();
        LegendItemCollection more = plot.getLegendItems();
        result.addAll(more);
      }
    }
  }
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None