| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 14 | 2 | 3 | 0.965 | SourceElements[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 14 | 1136 | Closure/closure/goog/ui/tree/basenode.js |
| 2 | 14 | 1157 | Closure/closure/goog/ui/tree/basenode.js |
| ||||
/**
* Sets the icon class for the node.
* @param {string} s The icon class.
*/
goog.ui.tree.BaseNode.prototype.setIconClass= function (s){
this.iconClass_= s;
if (this.isInDocument( )){
this.updateIcon( );
}
} ;
/**
* Gets the icon class for the node.
* @return {string} s The icon source.
*/
goog.ui.tree.BaseNode.prototype.getIconClass= function ( )
{
return this.iconClass_;
} ;
|
| ||||
/**
* Sets the icon class for when the node is expanded.
* @param {string} s The expanded icon class.
*/
goog.ui.tree.BaseNode.prototype.setExpandedIconClass= function (s){
this.expandedIconClass_= s;
if (this.isInDocument( )){
this.updateIcon( );
}
} ;
/**
* Gets the icon class for when the node is expanded.
* @return {string} The class.
*/
goog.ui.tree.BaseNode.prototype.getExpandedIconClass= function ( )
{
return this.expandedIconClass_;
} ;
|
| |||
/**
* Sets the icon class for the node.
* @param {string} s The icon class.
*/
/**
* Sets the icon class for when the node is expanded.
* @param {string} s The expanded icon class.
*/
goog.ui.tree.BaseNode.prototype. [[#variable20973220]]= function (s)
{ this. [[#variable209731c0]]=s;
if (this.isInDocument( ))
{ this.updateIcon( );
}
} ;
/**
* Gets the icon class for the node.
* @return {string} s The icon source.
*/
/**
* Gets the icon class for when the node is expanded.
* @return {string} The class.
*/
goog.ui.tree.BaseNode.prototype. [[#variable20973060]]= function ( )
{ return this. [[#variable209731c0]];
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#20973220]] | setIconClass |
| 1 | 2 | [[#20973220]] | setExpandedIconClass |
| 2 | 1 | [[#209731c0]] | iconClass_ |
| 2 | 2 | [[#209731c0]] | expandedIconClass_ |
| 3 | 1 | [[#20973060]] | getIconClass |
| 3 | 2 | [[#20973060]] | getExpandedIconClass |