| 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.957 | ExpressionStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 344 | Closure/closure/goog/ui/combobox.js |
| 2 | 2 | 237 | Closure/closure/goog/ui/menu.js |
| ||||
/**
* Returns a reference to the menu item at a given index.
* @param {number} n Index of menu item.
* @return {goog.ui.MenuItem?} Reference to the menu item.
*/
goog.ui.ComboBox.prototype.getItemAt= function (n){
return /** @type {goog.ui.MenuItem?} */
(this.menu_.getChildAt(n));
} ;
|
| ||||
/**
* Returns a reference to the menu item at a given index.
* @param {number} n Index of menu item.
* @return {goog.ui.MenuItem|goog.ui.MenuSeparator|null} Reference to the menu
* item.
* @deprecated Use {@link #getChildAt} instead.
*/
goog.ui.Menu.prototype.getItemAt= function (n){
return /** @type {goog.ui.MenuItem?} */
(this.getChildAt(n));
} ;
|
| |||
/**
* Returns a reference to the menu item at a given index.
* @param {number} n Index of menu item.
* @return {goog.ui.MenuItem?} Reference to the menu item.
*/
/**
* Returns a reference to the menu item at a given index.
* @param {number} n Index of menu item.
* @return {goog.ui.MenuItem|goog.ui.MenuSeparator|null} Reference to the menu
* item.
* @deprecated Use {@link #getChildAt} instead.
*/
goog.ui. [[#variable20456700]].prototype.getItemAt= function (n)
{ return /** @type {goog.ui.MenuItem?} */
( [[#variable20456680]].getChildAt(n));
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#20456700]] | ComboBox |
| 1 | 2 | [[#20456700]] | Menu |
| 2 | 1 | [[#20456680]] | this.menu_ |
| 2 | 2 | [[#20456680]] | this |