Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 4 | 1 | 0.978 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 217 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/ohlc/OHLCSeriesCollection.java |
2 | 4 | 243 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/ohlc/OHLCSeriesCollection.java |
3 | 4 | 269 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/ohlc/OHLCSeriesCollection.java |
4 | 4 | 295 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/ohlc/OHLCSeriesCollection.java |
| |||||
/** * Returns the open-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The open-value. */ public double getOpenValue(int series, int item) { OHLCSeries s = (OHLCSeries) this.data.get(series); OHLCItem di = (OHLCItem) s.getDataItem(item); return di.getOpenValue(); } |
| |||||
/** * Returns the close-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The close-value. */ public double getCloseValue(int series, int item) { OHLCSeries s = (OHLCSeries) this.data.get(series); OHLCItem di = (OHLCItem) s.getDataItem(item); return di.getCloseValue(); } |
| |||||
/** * Returns the high-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The high-value. */ public double getHighValue(int series, int item) { OHLCSeries s = (OHLCSeries) this.data.get(series); OHLCItem di = (OHLCItem) s.getDataItem(item); return di.getHighValue(); } |
| |||||
/** * Returns the low-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The low-value. */ public double getLowValue(int series, int item) { OHLCSeries s = (OHLCSeries) this.data.get(series); OHLCItem di = (OHLCItem) s.getDataItem(item); return di.getLowValue(); } |
| |||
/** * Returns the low-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The low-value. */ /** * Returns the high-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The high-value. */ /** * Returns the close-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The close-value. */ /** * Returns the open-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The open-value. */ public double [[#variable1a9217c0]](int series, int item) { OHLCSeries s = (OHLCSeries) this.data.get(series); OHLCItem di = (OHLCItem) s.getDataItem(item); return di. [[#variable1a9217c0]](); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1a9217c0]] | getOpenValue |
1 | 2 | [[#1a9217c0]] | getCloseValue |
1 | 3 | [[#1a9217c0]] | getHighValue |
1 | 4 | [[#1a9217c0]] | getLowValue |