Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.977 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 404 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/statistics/HistogramDataset.java |
2 | 4 | 422 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/statistics/HistogramDataset.java |
| |||||
/** * Returns the start value for a bin. * * @param series the series index (in the range <code>0</code> to * <code>getSeriesCount() - 1</code>). * @param item the item index (zero based). * * @return The start value. * * @throws IndexOutOfBoundsException if <code>series</code> is outside the * specified range. */ public Number getStartX(int series, int item) { List bins = getBins(series); HistogramBin bin = (HistogramBin) bins.get(item); return new Double(bin.getStartBoundary()); } |
| |||||
/** * Returns the end value for a bin. * * @param series the series index (in the range <code>0</code> to * <code>getSeriesCount() - 1</code>). * @param item the item index (zero based). * * @return The end value. * * @throws IndexOutOfBoundsException if <code>series</code> is outside the * specified range. */ public Number getEndX(int series, int item) { List bins = getBins(series); HistogramBin bin = (HistogramBin) bins.get(item); return new Double(bin.getEndBoundary()); } |
| |||
/** * Returns the end value for a bin. * * @param series the series index (in the range <code>0</code> to * <code>getSeriesCount() - 1</code>). * @param item the item index (zero based). * * @return The end value. * * @throws IndexOutOfBoundsException if <code>series</code> is outside the * specified range. */ /** * Returns the start value for a bin. * * @param series the series index (in the range <code>0</code> to * <code>getSeriesCount() - 1</code>). * @param item the item index (zero based). * * @return The start value. * * @throws IndexOutOfBoundsException if <code>series</code> is outside the * specified range. */ public Number [[#variable18dee720]](int series, int item) { List bins = getBins(series); HistogramBin bin = (HistogramBin) bins.get(item); return new Double(bin. [[#variable18dee6c0]]()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18dee720]] | getStartX |
1 | 2 | [[#18dee720]] | getEndX |
2 | 1 | [[#18dee6c0]] | getStartBoundary |
2 | 2 | [[#18dee6c0]] | getEndBoundary |