CloneSet1727


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.957ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12344
Closure/closure/goog/ui/combobox.js
22237
Closure/closure/goog/ui/menu.js
Clone Instance
1
Line Count
2
Source Line
344
Source File
Closure/closure/goog/ui/combobox.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));
                                                   } ;


Clone Instance
2
Line Count
2
Source Line
237
Source File
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|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));
                                               } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20456700]]
ComboBox 
12[[#20456700]]
Menu 
21[[#20456680]]
this.menu_ 
22[[#20456680]]
this