Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 3 | 3 | 0.960 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 106 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/SimpleSet.java |
2 | 10 | 49 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/QualifiedNameSet.java |
3 | 10 | 57 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/SimpleWordSet.java |
| ||||
private void rehash() { SimpleSet newSet = new SimpleSet(elementSize * 2); // double the number of expected elements Object current; for (int i = values.length; --i >= 0;) if ((current = values[i]) != null) newSet.add(current); this.values = newSet.values; this.elementSize = newSet.elementSize; this.threshold = newSet.threshold; } |
| ||||
private void rehash() { QualifiedNameSet newSet = new QualifiedNameSet(elementSize * 2); // double the number of expected elements char[][] current; for (int i = qualifiedNames.length; --i >= 0;) if ((current = qualifiedNames[i]) != null) newSet.add(current); this.qualifiedNames = newSet.qualifiedNames; this.elementSize = newSet.elementSize; this.threshold = newSet.threshold; } |
| ||||
private void rehash() { SimpleWordSet newSet = new SimpleWordSet(elementSize * 2); // double the number of expected elements char[] current; for (int i = words.length; --i >= 0;) if ((current = words[i]) != null) newSet.add(current); this.words = newSet.words; this.elementSize = newSet.elementSize; this.threshold = newSet.threshold; } |
| |||
private void rehash() { [[#variableb9bb0ee0]] newSet = new [[#variableb9bb0ee0]](elementSize * 2); // double the number of expected elements [[#variableb9bb0900]] current; for (int i = [[#variableb9bb0e60]].length; --i >= 0;) if ((current = [[#variableb9bb0e60]][i]) != null) newSet.add(current); this. [[#variableb9bb0e60]]= newSet. [[#variableb9bb0e60]]; this.elementSize = newSet.elementSize; this.threshold = newSet.threshold; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b9bb0ee0]] | SimpleWordSet |
1 | 2 | [[#b9bb0ee0]] | QualifiedNameSet |
1 | 3 | [[#b9bb0ee0]] | SimpleSet |
2 | 1 | [[#b9bb0900]] | char[] |
2 | 2 | [[#b9bb0900]] | char[][] |
2 | 3 | [[#b9bb0900]] | Object |
3 | 1 | [[#b9bb0e60]] | words |
3 | 2 | [[#b9bb0e60]] | qualifiedNames |
3 | 3 | [[#b9bb0e60]] | values |