CloneSet412


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8310.982method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19306
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/gantt/SlidingGanttCategoryDataset.java
28498
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/gantt/SlidingGanttCategoryDataset.java
38534
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/gantt/SlidingGanttCategoryDataset.java
Next
Last
Clone Instance
1
Line Count
9
Source Line
306
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/gantt/SlidingGanttCategoryDataset.java

/**
 * Returns the percent complete for a given item.
 *
 * @param rowKey  the row key.
 * @param columnKey  the column key.
 *
 * @return The percent complete.
 */
public Number getPercentComplete(Comparable rowKey, Comparable columnKey) {
  int r = getRowIndex(rowKey);
  int c = getColumnIndex(columnKey);
  if (c != -1) {
    return this.underlying.getPercentComplete(r, c + this.firstCategoryIndex);
  }
  else {
    throw new UnknownKeyException("Unknown columnKey: " + columnKey);
  }
}


Next
Previous
Clone Instance
2
Line Count
8
Source Line
498
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/gantt/SlidingGanttCategoryDataset.java

/**
 * Returns the start value for the interval for a given series and category.
 *
 * @param rowKey  the series key.
 * @param columnKey  the category key.
 *
 * @return The start value (possibly <code>null</code>).
 *
 * @see #getEndValue(Comparable, Comparable)
 */
public Number getStartValue(Comparable rowKey, Comparable columnKey) {
  int r = getRowIndex(rowKey);
  int c = getColumnIndex(columnKey);
  if (c != -1) {
    return this.underlying.getStartValue(r, c + this.firstCategoryIndex);
  }
  else {
    throw new UnknownKeyException("Unknown columnKey: " + columnKey);
  }
}


First
Previous
Clone Instance
3
Line Count
8
Source Line
534
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/gantt/SlidingGanttCategoryDataset.java

/**
 * Returns the end value for the interval for a given series and category.
 *
 * @param rowKey  the series key.
 * @param columnKey  the category key.
 *
 * @return The end value (possibly <code>null</code>).
 *
 * @see #getStartValue(Comparable, Comparable)
 */
public Number getEndValue(Comparable rowKey, Comparable columnKey) {
  int r = getRowIndex(rowKey);
  int c = getColumnIndex(columnKey);
  if (c != -1) {
    return this.underlying.getEndValue(r, c + this.firstCategoryIndex);
  }
  else {
    throw new UnknownKeyException("Unknown columnKey: " + columnKey);
  }
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Returns the end value for the interval for a given series and category.
     *
     * @param rowKey  the series key.
     * @param columnKey  the category key.
     *
     * @return The end value (possibly <code>null</code>).
     *
     * @see #getStartValue(Comparable, Comparable)
     */
/**
     * Returns the percent complete for a given item.
     *
     * @param rowKey  the row key.
     * @param columnKey  the column key.
     *
     * @return The percent complete.
     */
/**
     * Returns the start value for the interval for a given series and category.
     *
     * @param rowKey  the series key.
     * @param columnKey  the category key.
     *
     * @return The start value (possibly <code>null</code>).
     *
     * @see #getEndValue(Comparable, Comparable)
     */
public Number  [[#variable1a998580]](Comparable rowKey, Comparable columnKey) {
  int r = getRowIndex(rowKey);
  int c = getColumnIndex(columnKey);
  if (c != -1) {
    return this.underlying. [[#variable1a998580]](r, c + this.firstCategoryIndex);
  }
  else {
    throw new UnknownKeyException("Unknown columnKey: " + columnKey);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a998580]]
getPercentComplete 
12[[#1a998580]]
getStartValue 
13[[#1a998580]]
getEndValue