Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.982 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 31 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/DoubleCache.java |
2 | 4 | 31 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/FloatCache.java |
| ||||
/** * Constructs a new, empty hashtable with the specified initial * capacity. * @param initialCapacity int * the initial number of buckets */ public DoubleCache(int initialCapacity) { this.elementSize = 0; this.keyTable = new double[initialCapacity]; this.valueTable = new int[initialCapacity]; } |
| ||||
/** * Constructs a new, empty hashtable with the specified initial * capacity. * @param initialCapacity int * the initial number of buckets */ public FloatCache(int initialCapacity) { this.elementSize = 0; this.keyTable = new float[initialCapacity]; this.valueTable = new int[initialCapacity]; } |
| |||
/** * Constructs a new, empty hashtable with the specified initial * capacity. * @param initialCapacity int * the initial number of buckets */ public [[#variable6096fda0]](int initialCapacity) { this.elementSize = 0; this.keyTable = new [[#variable6096fd80]][initialCapacity]; this.valueTable = new int[initialCapacity]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6096fda0]] | FloatCache |
1 | 2 | [[#6096fda0]] | DoubleCache |
2 | 1 | [[#6096fd80]] | float |
2 | 2 | [[#6096fd80]] | double |