| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 12 | 2 | 3 | 0.966 | SourceElements[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 12 | 747 | Closure/closure/goog/ui/serverchart.js |
| 2 | 12 | 767 | Closure/closure/goog/ui/serverchart.js |
| ||||
/**
* Sets the number of grid lines along the X-axis.
*
* @param {number} gridlines The number of X-axis grid lines.
*/
goog.ui.ServerChart.prototype.setGridX= function (gridlines){
// Need data for this to work.
this.gridX_= gridlines;
this.setGrids_(this.gridX_, this.gridY_);
} ;
/**
* @return {number} The number of gridlines along the X-axis.
*/
goog.ui.ServerChart.prototype.getGridX= function ( )
{
return this.gridX_;
} ;
|
| ||||
/**
* Sets the number of grid lines along the Y-axis.
*
* @param {number} gridlines The number of Y-axis grid lines.
*/
goog.ui.ServerChart.prototype.setGridY= function (gridlines){
// Need data for this to work.
this.gridY_= gridlines;
this.setGrids_(this.gridX_, this.gridY_);
} ;
/**
* @return {number} The number of gridlines along the Y-axis.
*/
goog.ui.ServerChart.prototype.getGridY= function ( )
{
return this.gridY_;
} ;
|
| |||
/**
* Sets the number of grid lines along the X-axis.
*
* @param {number} gridlines The number of X-axis grid lines.
*/
/**
* Sets the number of grid lines along the Y-axis.
*
* @param {number} gridlines The number of Y-axis grid lines.
*/
goog.ui.ServerChart.prototype. [[#variable1f9a6720]]= function (gridlines)
{
// Need data for this to work.
this. [[#variable1fd49a80]]=gridlines;
this.setGrids_(this.gridX_,this.gridY_);
} ;
/**
* @return {number} The number of gridlines along the X-axis.
*/
/**
* @return {number} The number of gridlines along the Y-axis.
*/
goog.ui.ServerChart.prototype. [[#variable1f9a6660]]= function ( )
{ return this. [[#variable1fd49a80]];
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#1f9a6720]] | setGridX |
| 1 | 2 | [[#1f9a6720]] | setGridY |
| 2 | 1 | [[#1fd49a80]] | gridX_ |
| 2 | 2 | [[#1fd49a80]] | gridY_ |
| 3 | 1 | [[#1f9a6660]] | getGridX |
| 3 | 2 | [[#1f9a6660]] | getGridY |