Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 1 | 0.971 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 104 | Closure/closure/goog/ui/colorpicker.js |
2 | 2 | 153 | Closure/closure/goog/ui/colorpicker.js |
3 | 2 | 194 | 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; } ; |
| ||||
/** * 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; } ; |
| ||||
/** * 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; } ; |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3eab3b80]] | getSelectedColor |
1 | 2 | [[#3eab3b80]] | getSize |
1 | 3 | [[#3eab3b80]] | getColors |