CloneSet963


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17208
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/DefaultHighLowDataset.java
27145
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/DefaultOHLCDataset.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
208
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/DefaultHighLowDataset.java

/**
 * Returns the high-value (as a double primitive) for an item within a
 * series.
 *
 * @param series  the series (zero-based index).
 * @param item  the item (zero-based index).
 *
 * @return The high-value.
 *
 * @see #getHigh(int, int)
 */
public double getHighValue(int series, int item) {
  double result = Double.NaN;
  Number high = getHigh(series, item);
  if (high != null) {
    result = high.doubleValue();
  }
  return result;
}


First
Previous
Clone Instance
2
Line Count
7
Source Line
145
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/DefaultOHLCDataset.java

/**
 * Returns the high-value (as a double primitive) for an item within a
 * series.
 *
 * @param series  the series (zero-based index).
 * @param item  the item (zero-based index).
 *
 * @return The high-value.
 */
public double getHighValue(int series, int item) {
  double result = Double.NaN;
  Number high = getHigh(series, item);
  if (high != null) {
    result = high.doubleValue();
  }
  return result;
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Returns the high-value (as a double primitive) for an item within a
     * series.
     *
     * @param series  the series (zero-based index).
     * @param item  the item (zero-based index).
     *
     * @return The high-value.
     */
/**
     * Returns the high-value (as a double primitive) for an item within a
     * series.
     *
     * @param series  the series (zero-based index).
     * @param item  the item (zero-based index).
     *
     * @return The high-value.
     *
     * @see #getHigh(int, int)
     */
public double getHighValue(int series, int item) {
  double result = Double.NaN;
  Number high = getHigh(series, item);
  if (high != null) {
    result = high.doubleValue();
  }
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None