Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.964 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 102 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/VectorDataItem.java |
2 | 7 | 117 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xy/VectorDataItem.java |
| |||||
/** * Returns the x-component for the vector. * * @return The x-component. */ public double getVectorX() { Vector vi = (Vector) getObject(); if (vi != null) { return vi.getX(); } else { return Double.NaN; } } |
| |||||
/** * Returns the y-component for the vector. * * @return The y-component. */ public double getVectorY() { Vector vi = (Vector) getObject(); if (vi != null) { return vi.getY(); } else { return Double.NaN; } } |
| |||
/** * Returns the y-component for the vector. * * @return The y-component. */ /** * Returns the x-component for the vector. * * @return The x-component. */ public double [[#variable18f94c40]]() { Vector vi = (Vector) getObject(); if (vi != null) { return vi. [[#variable18f94be0]](); } else { return Double.NaN; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18f94c40]] | getVectorX |
1 | 2 | [[#18f94c40]] | getVectorY |
2 | 1 | [[#18f94be0]] | getX |
2 | 2 | [[#18f94be0]] | getY |