Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.958 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 300 | Closure/closure/goog/ui/combobox.js |
2 | 2 | 199 | Closure/closure/goog/ui/menu.js |
| ||||
/** * Adds a new menu item at a specific index in the menu. * @param {goog.ui.MenuItem} item Menu item to add to the menu. * @param {number} n Index at which to insert the menu item. */ goog.ui.ComboBox.prototype.addItemAt= function (item, n){ this.menu_.addChildAt(item, n, true); } ; |
| ||||
/** * Adds a new menu item at a specific index in the menu. * @param {goog.ui.MenuItem|goog.ui.MenuSeparator} item Menu item to add to the * menu. * @param {number} n Index at which to insert the menu item. * @deprecated Use {@link #addChildAt} instead. */ goog.ui.Menu.prototype.addItemAt= function (item, n){ this.addChildAt(item, n, true); } ; |
| |||
/** * Adds a new menu item at a specific index in the menu. * @param {goog.ui.MenuItem} item Menu item to add to the menu. * @param {number} n Index at which to insert the menu item. */ /** * Adds a new menu item at a specific index in the menu. * @param {goog.ui.MenuItem|goog.ui.MenuSeparator} item Menu item to add to the * menu. * @param {number} n Index at which to insert the menu item. * @deprecated Use {@link #addChildAt} instead. */ goog.ui. [[#variable468396c0]].prototype.addItemAt= function (item,n) { [[#variable468395a0]].addChildAt(item,n, true); } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#468396c0]] | ComboBox |
1 | 2 | [[#468396c0]] | Menu |
2 | 1 | [[#468395a0]] | this.menu_ |
2 | 2 | [[#468395a0]] | this |