CloneSet418


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5520.955method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15121
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/gantt/TaskSeriesCollection.java
25156
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimePeriodValuesCollection.java
35239
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/DefaultTableXYDataset.java
45146
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/VectorSeriesCollection.java
55230
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYSeriesCollection.java
Next
Last
Clone Instance
1
Line Count
5
Source Line
121
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/gantt/TaskSeriesCollection.java

/**
 * Returns a series from the collection.
 *
 * @param series  the series index (zero-based).
 *
 * @return The series.
 *
 * @since 1.0.1
 */
public TaskSeries getSeries(int series) {
  if ((series < 0) || (series >= getSeriesCount())) {
    throw new IllegalArgumentException("Series index out of bounds");
  }
  return (TaskSeries) this.data.get(series);
}


Next
Previous
Clone Instance
2
Line Count
5
Source Line
156
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimePeriodValuesCollection.java

/**
 * Returns a series.
 *
 * @param series  the index of the series (zero-based).
 *
 * @return The series.
 */
public TimePeriodValues getSeries(int series) {
  if ((series < 0) || (series >= getSeriesCount())) {
    throw new IllegalArgumentException("Index \'series\' out of range.");
  }
  return (TimePeriodValues) this.data.get(series);
}


Next
Previous
Clone Instance
3
Line Count
5
Source Line
239
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/DefaultTableXYDataset.java

/**
 * Returns a series.
 *
 * @param series  the series (zero-based index).
 *
 * @return The series (never <code>null</code>).
 */
public XYSeries getSeries(int series) {
  if ((series < 0) || (series >= getSeriesCount())) {
    throw new IllegalArgumentException("Index outside valid range.");
  }
  return (XYSeries) this.data.get(series);
}


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

/**
 * Returns a series from the collection.
 *
 * @param series  the series index (zero-based).
 *
 * @return The series.
 *
 * @throws IllegalArgumentException if <code>series</code> is not in the
 *     range <code>0</code> to <code>getSeriesCount() - 1</code>.
 */
public VectorSeries getSeries(int series) {
  if ((series < 0) || (series >= getSeriesCount())) {
    throw new IllegalArgumentException("Series index out of bounds");
  }
  return (VectorSeries) this.data.get(series);
}


First
Previous
Clone Instance
5
Line Count
5
Source Line
230
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/XYSeriesCollection.java

/**
 * Returns a series from the collection.
 *
 * @param series  the series index (zero-based).
 *
 * @return The series.
 *
 * @throws IllegalArgumentException if <code>series</code> is not in the
 *     range <code>0</code> to <code>getSeriesCount() - 1</code>.
 */
public XYSeries getSeries(int series) {
  if ((series < 0) || (series >= getSeriesCount())) {
    throw new IllegalArgumentException("Series index out of bounds");
  }
  return (XYSeries) this.data.get(series);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Returns a series from the collection.
     *
     * @param series  the series index (zero-based).
     *
     * @return The series.
     *
     * @throws IllegalArgumentException if <code>series</code> is not in the
     *     range <code>0</code> to <code>getSeriesCount() - 1</code>.
     */
/**
     * Returns a series from the collection.
     *
     * @param series  the series index (zero-based).
     *
     * @return The series.
     *
     * @since 1.0.1
     */
/**
     * Returns a series.
     *
     * @param series  the series (zero-based index).
     *
     * @return The series (never <code>null</code>).
     */
/**
     * Returns a series.
     *
     * @param series  the index of the series (zero-based).
     *
     * @return The series.
     */
public [[#variable1a98c8c0]] getSeries(int series) {
  if ((series < 0) || (series >= getSeriesCount())) {
    throw new IllegalArgumentException( [[#variable1a98c8a0]]);
  }
  return ( [[#variable1a98c8c0]]) this.data.get(series);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a98c8c0]]
TaskSeries 
12[[#1a98c8c0]]
TimePeriodValues 
13[[#1a98c8c0]]
XYSeries 
14[[#1a98c8c0]]
VectorSeries 
15[[#1a98c8c0]]
XYSeries 
21[[#1a98c8a0]]
"Series index out of bounds" 
22[[#1a98c8a0]]
"Index \'series\' out of range." 
23[[#1a98c8a0]]
"Index outside valid range." 
24[[#1a98c8a0]]
"Series index out of bounds" 
25[[#1a98c8a0]]
"Series index out of bounds"