CloneSet1407


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.957ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14309
Closure/closure/goog/ui/combobox.js
24331
Closure/closure/goog/ui/combobox.js
Clone Instance
1
Line Count
4
Source Line
309
Source File
Closure/closure/goog/ui/combobox.js

/**
 * Removes an item from the menu and disposes it.
 * @param {goog.ui.MenuItem} item The menu item to remove.
 */
goog.ui.ComboBox.prototype.removeItem=  function (item){
  var child=  this.menu_.removeChild(item, true);
  if (child) {
    child.dispose( );
             }
                                                       } ;


Clone Instance
2
Line Count
4
Source Line
331
Source File
Closure/closure/goog/ui/combobox.js

/**
 * Removes a menu item at a given index in the menu.
 * @param {number} n Index of item.
 */
goog.ui.ComboBox.prototype.removeItemAt=  function (n){
  var child=  this.menu_.removeChildAt(n, true);
  if (child) {
    child.dispose( );
             }
                                                      } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Removes a menu item at a given index in the menu.
 * @param {number} n Index of item.
 */
/**
 * Removes an item from the menu and disposes it.
 * @param {goog.ui.MenuItem} item The menu item to remove.
 */
goog.ui.ComboBox.prototype. [[#variable1f1826e0]]= function ( [[#variable1f182680]])
                                                   { var child=this.menu_. [[#variable1f1825c0]]( [[#variable1f182680]], true);
                                                     if (child)
                                                       { child.dispose( );
                                                       }
                                                   } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1f1826e0]]
removeItemAt 
12[[#1f1826e0]]
removeItem 
21[[#1f182680]]
n 
22[[#1f182680]]
item 
31[[#1f1825c0]]
removeChildAt 
32[[#1f1825c0]]
removeChild