CloneSet596


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6301.000method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16127
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/DefaultIntervalXYDataset.java
26146
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/DefaultXYDataset.java
36147
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/DefaultXYZDataset.java
Next
Last
Clone Instance
1
Line Count
6
Source Line
127
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/DefaultIntervalXYDataset.java

/**
 * Returns the number of items in the specified series.
 *
 * @param series  the series index (in the range <code>0</code> to
 *     <code>getSeriesCount() - 1</code>).
 *
 * @return The item count.
 *
 * @throws IllegalArgumentException if <code>series</code> is not in the
 *     specified range.
 */
public int getItemCount(int series) {
  if ((series < 0) || (series >= getSeriesCount())) {
    throw new IllegalArgumentException("Series index out of bounds");
  }
  double[][] seriesArray = (double[][]) this.seriesList.get(series);
  return seriesArray[0].length;
}


Next
Previous
Clone Instance
2
Line Count
6
Source Line
146
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/DefaultXYDataset.java

/**
 * Returns the number of items in the specified series.
 * 
 * @param series  the series index (in the range <code>0</code> to 
 *     <code>getSeriesCount() - 1</code>).
 * 
 * @return The item count.
 * 
 * @throws IllegalArgumentException if <code>series</code> is not in the 
 *     specified range.
 */
public int getItemCount(int series) {
  if ((series < 0) || (series >= getSeriesCount())) {
    throw new IllegalArgumentException("Series index out of bounds");
  }
  double[][] seriesArray = (double[][]) this.seriesList.get(series);
  return seriesArray[0].length;
}


First
Previous
Clone Instance
3
Line Count
6
Source Line
147
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/DefaultXYZDataset.java

/**
 * Returns the number of items in the specified series.
 *
 * @param series  the series index (in the range <code>0</code> to
 *     <code>getSeriesCount() - 1</code>).
 *
 * @return The item count.
 *
 * @throws IllegalArgumentException if <code>series</code> is not in the
 *     specified range.
 */
public int getItemCount(int series) {
  if ((series < 0) || (series >= getSeriesCount())) {
    throw new IllegalArgumentException("Series index out of bounds");
  }
  double[][] seriesArray = (double[][]) this.seriesList.get(series);
  return seriesArray[0].length;
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Returns the number of items in the specified series.
     * 
     * @param series  the series index (in the range <code>0</code> to 
     *     <code>getSeriesCount() - 1</code>).
     * 
     * @return The item count.
     * 
     * @throws IllegalArgumentException if <code>series</code> is not in the 
     *     specified range.
     */
/**
     * Returns the number of items in the specified series.
     *
     * @param series  the series index (in the range <code>0</code> to
     *     <code>getSeriesCount() - 1</code>).
     *
     * @return The item count.
     *
     * @throws IllegalArgumentException if <code>series</code> is not in the
     *     specified range.
     */
public int getItemCount(int series) {
  if ((series < 0) || (series >= getSeriesCount())) {
    throw new IllegalArgumentException("Series index out of bounds");
  }
  double[][] seriesArray = (double[][]) this.seriesList.get(series);
  return seriesArray[0].length;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None