Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 1 | 0.976 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 135 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/DefaultKeyedValues.java |
2 | 2 | 192 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/gantt/TaskSeriesCollection.java |
| |||||
/** * Returns a key. * * @param index the item index (zero-based). * * @return The row key. * * @throws IndexOutOfBoundsException if <code>item</code> is out of bounds. */ public Comparable getKey(int index) { return (Comparable) this.keys.get(index); } |
| |||||
/** * Returns a column key. * * @param index the column index. * * @return The column key. */ public Comparable getColumnKey(int index) { return (Comparable) this.keys.get(index); } |
| |||
/** * Returns a key. * * @param index the item index (zero-based). * * @return The row key. * * @throws IndexOutOfBoundsException if <code>item</code> is out of bounds. */ /** * Returns a column key. * * @param index the column index. * * @return The column key. */ public Comparable [[#variable1a0e5d00]](int index) { return (Comparable) this.keys.get(index); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1a0e5d00]] | getKey |
1 | 2 | [[#1a0e5d00]] | getColumnKey |