CloneSet314


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15330.964SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115395
Closure/closure/goog/ui/tree/treecontrol.js
215446
Closure/closure/goog/ui/tree/treecontrol.js
315468
Closure/closure/goog/ui/tree/treecontrol.js
Clone Instance
1
Line Count
15
Source Line
395
Source File
Closure/closure/goog/ui/tree/treecontrol.js

/**
 * Sets whether to show lines.
 * @param {boolean} b Whether to show lines.
 */
goog.ui.tree.TreeControl.prototype.setShowLines=  function (b){
  if (this.showLines_!=  b) {
    this.showLines_=  b;
    if (this.isInDocument( )){
      this.updateLinesAndExpandIcons_( );
                             }
                            }
                                                              } ;


/**
 * @return {boolean} Whether to show lines.
 */
goog.ui.tree.TreeControl.prototype.getShowLines=  function ( )
                                                             {
  return this.showLines_;
                                                             } ;


Clone Instance
2
Line Count
15
Source Line
446
Source File
Closure/closure/goog/ui/tree/treecontrol.js

/**
 * Sets whether to show root lines.
 * @param {boolean} b Whether to show root lines.
 */
goog.ui.tree.TreeControl.prototype.setShowRootLines=  function (b){
  if (this.showRootLines_!=  b) {
    this.showRootLines_=  b;
    if (this.isInDocument( )){
      this.updateLinesAndExpandIcons_( );
                             }
                                }
                                                                  } ;


/**
 * @return {boolean} Whether to show root lines.
 */
goog.ui.tree.TreeControl.prototype.getShowRootLines=  function ( )
                                                                 {
  return this.showRootLines_;
                                                                 } ;


Clone Instance
3
Line Count
15
Source Line
468
Source File
Closure/closure/goog/ui/tree/treecontrol.js

/**
 * Sets whether to show expand icons.
 * @param {boolean} b Whether to show expand icons.
 */
goog.ui.tree.TreeControl.prototype.setShowExpandIcons=  function (b){
  if (this.showExpandIcons_!=  b) {
    this.showExpandIcons_=  b;
    if (this.isInDocument( )){
      this.updateLinesAndExpandIcons_( );
                             }
                                  }
                                                                    } ;


/**
 * @return {boolean} Whether to show expand icons.
 */
goog.ui.tree.TreeControl.prototype.getShowExpandIcons=  function ( )
                                                                   {
  return this.showExpandIcons_;
                                                                   } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Sets whether to show lines.
 * @param {boolean} b Whether to show lines.
 */
/**
 * Sets whether to show root lines.
 * @param {boolean} b Whether to show root lines.
 */
/**
 * Sets whether to show expand icons.
 * @param {boolean} b Whether to show expand icons.
 */
goog.ui.tree.TreeControl.prototype. [[#variable59ea8520]]= function (b)
                                                           { if (this. [[#variable59ea84a0]]!=b)
                                                               { this. [[#variable59ea84a0]]=b;
                                                                 if (this.isInDocument( ))
                                                                   { this.updateLinesAndExpandIcons_( );
                                                                   }
                                                               }
                                                           } ;
/**
 * @return {boolean} Whether to show lines.
 */
/**
 * @return {boolean} Whether to show root lines.
 */
/**
 * @return {boolean} Whether to show expand icons.
 */
goog.ui.tree.TreeControl.prototype. [[#variable59ea8480]]= function ( )
                                                           { return this. [[#variable59ea84a0]];
                                                           } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#59ea8520]]
setShowLines 
12[[#59ea8520]]
setShowRootLines 
13[[#59ea8520]]
setShowExpandIcons 
21[[#59ea84a0]]
showLines_ 
22[[#59ea84a0]]
showRootLines_ 
23[[#59ea84a0]]
showExpandIcons_ 
31[[#59ea8480]]
getShowLines 
32[[#59ea8480]]
getShowRootLines 
33[[#59ea8480]]
getShowExpandIcons