CloneSet1178


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2310.971ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12104
Closure/closure/goog/ui/colorpicker.js
22153
Closure/closure/goog/ui/colorpicker.js
32194
Closure/closure/goog/ui/colorpicker.js
Clone Instance
1
Line Count
2
Source Line
104
Source File
Closure/closure/goog/ui/colorpicker.js

/**
 * Gets the array of colors displayed by the color picker.
 * Modifying this array will lead to unexpected behavior.
 * @return {Array.<string>?} The colors displayed by this widget.
 */
goog.ui.ColorPicker.prototype.getColors=  function ( )
                                                     {
  return this.colorPalette_
         ?                    this.colorPalette_.getColors( )
         :                                                     null;
                                                     } ;


Clone Instance
2
Line Count
2
Source Line
153
Source File
Closure/closure/goog/ui/colorpicker.js

/**
 * Gets the number of columns displayed.
 * @return {goog.math.Size?} The size of the grid.
 */
goog.ui.ColorPicker.prototype.getSize=  function ( )
                                                   {
  return this.colorPalette_
         ?                    this.colorPalette_.getSize( )
         :                                                   null;
                                                   } ;


Clone Instance
3
Line Count
2
Source Line
194
Source File
Closure/closure/goog/ui/colorpicker.js

/**
 * Gets the color that is currently selected in this color picker.
 * @return {?string} The hex string of the color selected, or null if no
 *     color is selected.
 */
goog.ui.ColorPicker.prototype.getSelectedColor=  function ( )
                                                            {
  return this.colorPalette_
         ?                    this.colorPalette_.getSelectedColor( )
         :                                                            null;
                                                            } ;


Clone AbstractionParameter Count: 1Parameter Bindings

/**
 * Gets the color that is currently selected in this color picker.
 * @return {?string} The hex string of the color selected, or null if no
 *     color is selected.
 */
/**
 * Gets the number of columns displayed.
 * @return {goog.math.Size?} The size of the grid.
 */
/**
 * Gets the array of colors displayed by the color picker.
 * Modifying this array will lead to unexpected behavior.
 * @return {Array.<string>?} The colors displayed by this widget.
 */
goog.ui.ColorPicker.prototype. [[#variable3eab3b80]]= function ( )
                                                      { return this.colorPalette_
                                                               ?this.colorPalette_. [[#variable3eab3b80]]( )
                                                               :null;
                                                      } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3eab3b80]]
getSelectedColor 
12[[#3eab3b80]]
getSize 
13[[#3eab3b80]]
getColors