CloneSet1454


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

/**
 * To obtain a NumberFormat object that can be used for number format/parse.
 * @param {string} pattern number format pattern string.
 * @param {string=} opt_currencyCode optional international currency code, it
 *     determines the currency code/symbol should be used in format/parse. If
 *     not given, the currency code for current locale will be used.
 * @return {goog.locale.NumberFormat}  A goog.locale.NumberFormat instance
 *     for the given pattern and currency.
 * @deprecated Use goog.i18n.NumberFormat.
 */
goog.locale.getNumberFormatter=  function (pattern, opt_currencyCode){
  var formatter=  new goog.locale.NumberFormat( );
  formatter.applyPattern(pattern, opt_currencyCode);
  return formatter;
                                                                     } ;


Clone Instance
2
Line Count
5
Source Line
283
Source File
Closure/closure/goog/locale/formatting.js

/**
 * To obtain a NumberFormat object that can be used for number format/parse from
 * a predefined pattern type.
 * @param {number} patternType identifies a predefined number format pattern.
 * @param {string=} opt_currencyCode optional international currency code. It
 *     determines the currency code/symbol used in format/parse. If not given,
 *     the currency code for current locale will be used.
 * @return {goog.locale.NumberFormat} A goog.locale.NumberFormat instance for
 *     the predefined pattern type and currency code.
 * @deprecated Use goog.i18n.NumberFormat.
 */
goog.locale.getStandardNumberFormatter=  function (patternType,
                                                   opt_currencyCode){
  var formatter=  new goog.locale.NumberFormat( );
  formatter.applyStandardPattern(patternType, opt_currencyCode);
  return formatter;
                                                                    } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * To obtain a NumberFormat object that can be used for number format/parse from
 * a predefined pattern type.
 * @param {number} patternType identifies a predefined number format pattern.
 * @param {string=} opt_currencyCode optional international currency code. It
 *     determines the currency code/symbol used in format/parse. If not given,
 *     the currency code for current locale will be used.
 * @return {goog.locale.NumberFormat} A goog.locale.NumberFormat instance for
 *     the predefined pattern type and currency code.
 * @deprecated Use goog.i18n.NumberFormat.
 */
/**
 * To obtain a NumberFormat object that can be used for number format/parse.
 * @param {string} pattern number format pattern string.
 * @param {string=} opt_currencyCode optional international currency code, it
 *     determines the currency code/symbol should be used in format/parse. If
 *     not given, the currency code for current locale will be used.
 * @return {goog.locale.NumberFormat}  A goog.locale.NumberFormat instance
 *     for the given pattern and currency.
 * @deprecated Use goog.i18n.NumberFormat.
 */
goog.locale. [[#variable21117180]]= function ( [[#variable21117100]],opt_currencyCode)
                                    { var formatter=new goog.locale.NumberFormat( );
                                      formatter. [[#variable21117080]]( [[#variable21117100]],opt_currencyCode);
                                      return formatter;
                                    } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#21117180]]
getStandardNumberFormatter 
12[[#21117180]]
getNumberFormatter 
21[[#21117100]]
patternType 
22[[#21117100]]
pattern 
31[[#21117080]]
applyStandardPattern 
32[[#21117080]]
applyPattern