Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.952 | class_body_declarations[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 17 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CharArrayCache.java |
2 | 8 | 23 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/HashtableOfIntValues.java |
| ||||
// to avoid using Enumerations, walk the individual tables skipping nulls public char[] keyTable[]; public int valueTable[]; int elementSize; // number of elements in the table int threshold; /** * Constructs a new, empty hashtable. A default capacity is used. * Note that the hashtable will automatically grow when it gets full. */ public CharArrayCache() { this(9); } |
| ||||
// to avoid using Enumerations, walk the individual tables skipping nulls public char[] keyTable[]; public int valueTable[]; public int elementSize; // number of elements in the table int threshold; public HashtableOfIntValues() { this(13); } |
| |||
// to avoid using Enumerations, walk the individual tables skipping nulls public char[] keyTable[]; public int valueTable[]; [[#variable9e6f1a00]]int elementSize; // number of elements in the table int threshold; /** * Constructs a new, empty hashtable. A default capacity is used. * Note that the hashtable will automatically grow when it gets full. */ public [[#variable9c6b29c0]]() { this( [[#variable9c6b2940]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9e6f1a00]] | |
1 | 2 | [[#9e6f1a00]] | public |
2 | 1 | [[#9c6b29c0]] | CharArrayCache |
2 | 2 | [[#9c6b29c0]] | HashtableOfIntValues |
3 | 1 | [[#9c6b2940]] | 9 |
3 | 2 | [[#9c6b2940]] | 13 |