| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 2 | 1 | 0.986 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 54 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BufferCache.java |
| 2 | 2 | 82 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ElementCache.java |
| ||||
/**
* Returns a new instance of the reciever.
*/
protected LRUCache newInstance(int size, int overflow) {
return new BufferCache(size, overflow);
}
|
| ||||
/*
* Returns a new instance of the receiver.
*/
protected LRUCache newInstance(int size, int overflow) {
return new ElementCache(size, overflow);
}
|
| |||
/*
* Returns a new instance of the receiver.
*/
/**
* Returns a new instance of the reciever.
*/
protected LRUCache newInstance(int size, int overflow) {
return new [[#variable993a6b80]](size, overflow);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#993a6b80]] | ElementCache |
| 1 | 2 | [[#993a6b80]] | BufferCache |