| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 2 | 0.973 | ExpressionStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 257 | Closure/closure/goog/structs/linkedmap.js |
| 2 | 3 | 268 | Closure/closure/goog/structs/linkedmap.js |
| ||||
/**
* @return {Array.<string>} The list of the keys in the appropriate order for
* this LinkedMap.
*/
goog.structs.LinkedMap.prototype.getKeys= function ( )
{
return this.map( function (val, key){
return key;
} );
} ;
|
| ||||
/**
* @return {!Array} The list of the values in the appropriate order for
* this LinkedMap.
*/
goog.structs.LinkedMap.prototype.getValues= function ( )
{
return this.map( function (val, key){
return val;
} );
} ;
|
| |||
/**
* @return {!Array} The list of the values in the appropriate order for
* this LinkedMap.
*/
/**
* @return {Array.<string>} The list of the keys in the appropriate order for
* this LinkedMap.
*/
goog.structs.LinkedMap.prototype. [[#variable3b6486e0]]= function ( )
{ return this.map( function (val,key)
{ return [[#variable3b648640]];
} );
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#3b6486e0]] | getValues |
| 1 | 2 | [[#3b6486e0]] | getKeys |
| 2 | 1 | [[#3b648640]] | val |
| 2 | 2 | [[#3b648640]] | key |