Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.985 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 185 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/HashUtilities.java |
2 | 3 | 200 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/HashUtilities.java |
| |||||
/** * Returns a hash value based on a seed value and a stroke instance. * * @param pre the seed value. * @param s the stroke (<code>null</code> permitted). * * @return A hash value. * * @since 1.0.7 */ public static int hashCode(int pre, Stroke s) { int h = (s != null ? s.hashCode(): 0); return 37 * pre + h; } |
| |||||
/** * Returns a hash value based on a seed value and a string instance. * * @param pre the seed value. * @param s the string (<code>null</code> permitted). * * @return A hash value. * * @since 1.0.7 */ public static int hashCode(int pre, String s) { int h = (s != null ? s.hashCode(): 0); return 37 * pre + h; } |
| |||
/** * Returns a hash value based on a seed value and a string instance. * * @param pre the seed value. * @param s the string (<code>null</code> permitted). * * @return A hash value. * * @since 1.0.7 */ /** * Returns a hash value based on a seed value and a stroke instance. * * @param pre the seed value. * @param s the stroke (<code>null</code> permitted). * * @return A hash value. * * @since 1.0.7 */ public static int hashCode(int pre, [[#variable18ef6240]] s) { int h = (s != null ? s.hashCode(): 0); return 37 * pre + h; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18ef6240]] | Stroke |
1 | 2 | [[#18ef6240]] | String |