CloneSet1538


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.988ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14441
Closure/closure/goog/ui/palette.js
24318
Closure/closure/goog/ui/select.js
Clone Instance
1
Line Count
4
Source Line
441
Source File
Closure/closure/goog/ui/palette.js

/**
 * Returns the currently selected palette item, or null if no item is selected.
 * @return {Node} The selected item (null if none).
 */
goog.ui.Palette.prototype.getSelectedItem=  function ( )
                                                       {
  return this.selectionModel_
         ?
    /** @type {Node} */
                        (this.selectionModel_.getSelectedItem( ))
         :null;
                                                       } ;


Clone Instance
2
Line Count
4
Source Line
318
Source File
Closure/closure/goog/ui/select.js

/**
 * Returns the currently selected option.
 * @return {goog.ui.MenuItem} The currently selected option (null if none).
 */
goog.ui.Select.prototype.getSelectedItem=  function ( )
                                                      {
  return this.selectionModel_
         ?
      /** @type {goog.ui.MenuItem} */
                                      (this.selectionModel_.getSelectedItem( ))
         :null;
                                                      } ;


Clone AbstractionParameter Count: 1Parameter Bindings

/**
 * Returns the currently selected palette item, or null if no item is selected.
 * @return {Node} The selected item (null if none).
 */
/**
 * Returns the currently selected option.
 * @return {goog.ui.MenuItem} The currently selected option (null if none).
 */
goog.ui. [[#variable3afd68a0]].prototype.getSelectedItem= function ( )
                                                          { return this.selectionModel_
                                                                   ?
                                                                    /** @type {Node} */
                                                                    /** @type {goog.ui.MenuItem} */
                                                                    (this.selectionModel_.getSelectedItem( ))
                                                                   :null;
                                                          } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3afd68a0]]
Palette 
12[[#3afd68a0]]
Select