CloneSet1414


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.957ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14200
Closure/closure/goog/locale/formatting.js
24231
Closure/closure/goog/locale/formatting.js
Clone Instance
1
Line Count
4
Source Line
200
Source File
Closure/closure/goog/locale/formatting.js

/**
 * Format the number using given pattern.
 * @param {string} pattern specifies how number should be formatted.
 * @param {number} value The number being formatted.
 * @return {string} The formatted string.
 * @deprecated Use goog.i18n.NumberFormat.
 */
goog.locale.formatNumber=  function (pattern, value){
  var formatter=  new goog.locale.NumberFormat( );
  formatter.applyPattern(pattern);
  return formatter.format(value);
                                                    } ;


Clone Instance
2
Line Count
4
Source Line
231
Source File
Closure/closure/goog/locale/formatting.js

/**
 * Format the number using predefined pattern.
 * @param {number} patternType indentifies a predefined pattern to use.
 * @param {number} value the number being formatted.
 * @return {string} The formatted string.
 * @deprecated Use goog.i18n.NumberFormat.
 */
goog.locale.standardFormatNumber=  function (patternType, value){
  var formatter=  new goog.locale.NumberFormat( );
  formatter.applyStandardPattern(patternType);
  return formatter.format(value);
                                                                } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Format the number using predefined pattern.
 * @param {number} patternType indentifies a predefined pattern to use.
 * @param {number} value the number being formatted.
 * @return {string} The formatted string.
 * @deprecated Use goog.i18n.NumberFormat.
 */
/**
 * Format the number using given pattern.
 * @param {string} pattern specifies how number should be formatted.
 * @param {number} value The number being formatted.
 * @return {string} The formatted string.
 * @deprecated Use goog.i18n.NumberFormat.
 */
goog.locale. [[#variable1eca21c0]]= function ( [[#variable1eca2160]],value)
                                    { var formatter=new goog.locale.NumberFormat( );
                                      formatter. [[#variable1eca2100]]( [[#variable1eca2160]]);
                                      return formatter.format(value);
                                    } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1eca21c0]]
standardFormatNumber 
12[[#1eca21c0]]
formatNumber 
21[[#1eca2160]]
patternType 
22[[#1eca2160]]
pattern 
31[[#1eca2100]]
applyStandardPattern 
32[[#1eca2100]]
applyPattern