Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / java / text / NumberFormat.js
index f17152d..212f93d 100644 (file)
-Clazz.declarePackage ("java.text");\r
-Clazz.load (["java.text.Format", "java.util.HashMap", "$.Hashtable"], "java.text.NumberFormat", ["java.lang.Byte", "$.IllegalArgumentException", "$.Long", "$.Number", "$.Short", "$.StringBuffer", "$.UnsupportedOperationException", "java.text.DecimalFormatSymbols", "$.DontCareFieldPosition", "$.ParseException", "$.ParsePosition", "java.util.Locale", "jssun.util.resources.LocaleData"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.groupingUsed = true;\r
-this.maxFractionDigits = 3;\r
-this.parseIntegerOnly = false;\r
-this.maximumIntegerDigits = 40;\r
-this.minimumIntegerDigits = 1;\r
-this.maximumFractionDigits = 3;\r
-this.minimumFractionDigits = 0;\r
-Clazz.instantialize (this, arguments);\r
-}, java.text, "NumberFormat", java.text.Format);\r
-Clazz.makeConstructor (c$, \r
-function () {\r
-Clazz.superConstructor (this, java.text.NumberFormat, []);\r
-});\r
-Clazz.defineMethod (c$, "format", \r
-function (number, toAppendTo, pos) {\r
-if (Clazz.instanceOf (number, Long) || Clazz.instanceOf (number, Integer) || Clazz.instanceOf (number, Short) || Clazz.instanceOf (number, Byte)) {\r
-return this.format ((number).longValue (), toAppendTo, pos);\r
-} else if (Clazz.instanceOf (number, Number)) {\r
-return this.format ((number).doubleValue (), toAppendTo, pos);\r
-} else {\r
-throw  new IllegalArgumentException ("Cannot format given Object as a Number");\r
-}}, "~O,StringBuffer,java.text.FieldPosition");\r
-Clazz.defineMethod (c$, "parseObject", \r
-function (source, pos) {\r
-return this.parse (source, pos);\r
-}, "~S,java.text.ParsePosition");\r
-Clazz.defineMethod (c$, "format", \r
-function (number) {\r
-return this.format (number,  new StringBuffer (), java.text.DontCareFieldPosition.INSTANCE).toString ();\r
-}, "~N");\r
-Clazz.defineMethod (c$, "parse", \r
-function (source) {\r
-var parsePosition =  new java.text.ParsePosition (0);\r
-var result = this.parse (source, parsePosition);\r
-if (parsePosition.index == 0) {\r
-throw  new java.text.ParseException ("Unparseable number: \"" + source + "\"", parsePosition.errorIndex);\r
-}return result;\r
-}, "~S");\r
-Clazz.defineMethod (c$, "isParseIntegerOnly", \r
-function () {\r
-return this.parseIntegerOnly;\r
-});\r
-Clazz.defineMethod (c$, "setParseIntegerOnly", \r
-function (value) {\r
-this.parseIntegerOnly = value;\r
-}, "~B");\r
-c$.getInstance = Clazz.defineMethod (c$, "getInstance", \r
-function () {\r
-return java.text.NumberFormat.getInstance (java.util.Locale.getDefault (), 0);\r
-});\r
-c$.getInstance = Clazz.defineMethod (c$, "getInstance", \r
-function (inLocale) {\r
-return java.text.NumberFormat.getInstance (inLocale, 0);\r
-}, "java.util.Locale");\r
-c$.getNumberInstance = Clazz.defineMethod (c$, "getNumberInstance", \r
-function () {\r
-return java.text.NumberFormat.getInstance (java.util.Locale.getDefault (), 0);\r
-});\r
-c$.getNumberInstance = Clazz.defineMethod (c$, "getNumberInstance", \r
-function (inLocale) {\r
-return java.text.NumberFormat.getInstance (inLocale, 0);\r
-}, "java.util.Locale");\r
-c$.getIntegerInstance = Clazz.defineMethod (c$, "getIntegerInstance", \r
-function () {\r
-return java.text.NumberFormat.getInstance (java.util.Locale.getDefault (), 4);\r
-});\r
-c$.getIntegerInstance = Clazz.defineMethod (c$, "getIntegerInstance", \r
-function (inLocale) {\r
-return java.text.NumberFormat.getInstance (inLocale, 4);\r
-}, "java.util.Locale");\r
-c$.getCurrencyInstance = Clazz.defineMethod (c$, "getCurrencyInstance", \r
-function () {\r
-return java.text.NumberFormat.getInstance (java.util.Locale.getDefault (), 1);\r
-});\r
-c$.getCurrencyInstance = Clazz.defineMethod (c$, "getCurrencyInstance", \r
-function (inLocale) {\r
-return java.text.NumberFormat.getInstance (inLocale, 1);\r
-}, "java.util.Locale");\r
-c$.getPercentInstance = Clazz.defineMethod (c$, "getPercentInstance", \r
-function () {\r
-return java.text.NumberFormat.getInstance (java.util.Locale.getDefault (), 2);\r
-});\r
-c$.getPercentInstance = Clazz.defineMethod (c$, "getPercentInstance", \r
-function (inLocale) {\r
-return java.text.NumberFormat.getInstance (inLocale, 2);\r
-}, "java.util.Locale");\r
-c$.getScientificInstance = Clazz.defineMethod (c$, "getScientificInstance", \r
-function () {\r
-return java.text.NumberFormat.getInstance (java.util.Locale.getDefault (), 3);\r
-});\r
-c$.getScientificInstance = Clazz.defineMethod (c$, "getScientificInstance", \r
-function (inLocale) {\r
-return java.text.NumberFormat.getInstance (inLocale, 3);\r
-}, "java.util.Locale");\r
-Clazz.overrideMethod (c$, "hashCode", \r
-function () {\r
-return this.maximumIntegerDigits * 37 + this.maxFractionDigits;\r
-});\r
-Clazz.overrideMethod (c$, "equals", \r
-function (obj) {\r
-if (obj == null) {\r
-return false;\r
-}if (this === obj) {\r
-return true;\r
-}if (this.getClass () !== obj.getClass ()) {\r
-return false;\r
-}var other = obj;\r
-return (this.maximumIntegerDigits == other.maximumIntegerDigits && this.minimumIntegerDigits == other.minimumIntegerDigits && this.maximumFractionDigits == other.maximumFractionDigits && this.minimumFractionDigits == other.minimumFractionDigits && this.groupingUsed == other.groupingUsed && this.parseIntegerOnly == other.parseIntegerOnly);\r
-}, "~O");\r
-Clazz.defineMethod (c$, "clone", \r
-function () {\r
-var other = Clazz.superCall (this, java.text.NumberFormat, "clone", []);\r
-return other;\r
-});\r
-Clazz.defineMethod (c$, "isGroupingUsed", \r
-function () {\r
-return this.groupingUsed;\r
-});\r
-Clazz.defineMethod (c$, "setGroupingUsed", \r
-function (newValue) {\r
-this.groupingUsed = newValue;\r
-}, "~B");\r
-Clazz.defineMethod (c$, "getMaximumIntegerDigits", \r
-function () {\r
-return this.maximumIntegerDigits;\r
-});\r
-Clazz.defineMethod (c$, "setMaximumIntegerDigits", \r
-function (newValue) {\r
-this.maximumIntegerDigits = Math.max (0, newValue);\r
-if (this.minimumIntegerDigits > this.maximumIntegerDigits) {\r
-this.minimumIntegerDigits = this.maximumIntegerDigits;\r
-}}, "~N");\r
-Clazz.defineMethod (c$, "getMinimumIntegerDigits", \r
-function () {\r
-return this.minimumIntegerDigits;\r
-});\r
-Clazz.defineMethod (c$, "setMinimumIntegerDigits", \r
-function (newValue) {\r
-this.minimumIntegerDigits = Math.max (0, newValue);\r
-if (this.minimumIntegerDigits > this.maximumIntegerDigits) {\r
-this.maximumIntegerDigits = this.minimumIntegerDigits;\r
-}}, "~N");\r
-Clazz.defineMethod (c$, "getMaximumFractionDigits", \r
-function () {\r
-return this.maximumFractionDigits;\r
-});\r
-Clazz.defineMethod (c$, "setMaximumFractionDigits", \r
-function (newValue) {\r
-this.maximumFractionDigits = Math.max (0, newValue);\r
-if (this.maximumFractionDigits < this.minimumFractionDigits) {\r
-this.minimumFractionDigits = this.maximumFractionDigits;\r
-}}, "~N");\r
-Clazz.defineMethod (c$, "getMinimumFractionDigits", \r
-function () {\r
-return this.minimumFractionDigits;\r
-});\r
-Clazz.defineMethod (c$, "setMinimumFractionDigits", \r
-function (newValue) {\r
-this.minimumFractionDigits = Math.max (0, newValue);\r
-if (this.maximumFractionDigits < this.minimumFractionDigits) {\r
-this.maximumFractionDigits = this.minimumFractionDigits;\r
-}}, "~N");\r
-Clazz.defineMethod (c$, "getRoundingMode", \r
-function () {\r
-throw  new UnsupportedOperationException ();\r
-});\r
-Clazz.defineMethod (c$, "setRoundingMode", \r
-function (roundingMode) {\r
-throw  new UnsupportedOperationException ();\r
-}, "java.math.RoundingMode");\r
-c$.getInstance = Clazz.defineMethod (c$, "getInstance", \r
- function (desiredLocale, choice) {\r
-var numberPatterns = java.text.NumberFormat.cachedLocaleData.get (desiredLocale);\r
-if (numberPatterns == null) {\r
-var resource = jssun.util.resources.LocaleData.getNumberFormatData (desiredLocale);\r
-numberPatterns = resource.getStringArray ("NumberPatterns");\r
-java.text.NumberFormat.cachedLocaleData.put (desiredLocale, numberPatterns);\r
-}var symbols = java.text.DecimalFormatSymbols.getInstance (desiredLocale);\r
-var entry = (choice == 4) ? 0 : choice;\r
-var format =  new java.text.DecimalFormat (numberPatterns[entry], symbols);\r
-if (choice == 4) {\r
-format.setMaximumFractionDigits (0);\r
-format.setDecimalSeparatorAlwaysShown (false);\r
-format.setParseIntegerOnly (true);\r
-} else if (choice == 1) {\r
-format.adjustForCurrencyDefaultFractionDigits ();\r
-}return format;\r
-}, "java.util.Locale,~N");\r
-Clazz.pu$h(self.c$);\r
-c$ = Clazz.declareType (java.text.NumberFormat, "Field", java.text.Format.Field);\r
-Clazz.makeConstructor (c$, \r
-function (a) {\r
-Clazz.superConstructor (this, java.text.NumberFormat.Field, [a]);\r
-if (this.getClass () === java.text.NumberFormat.Field) {\r
-java.text.NumberFormat.Field.$instanceMap.put (a, this);\r
-}}, "~S");\r
-c$.$instanceMap = c$.prototype.$instanceMap =  new java.util.HashMap (11);\r
-c$.INTEGER = c$.prototype.INTEGER =  new java.text.NumberFormat.Field ("integer");\r
-c$.FRACTION = c$.prototype.FRACTION =  new java.text.NumberFormat.Field ("fraction");\r
-c$.EXPONENT = c$.prototype.EXPONENT =  new java.text.NumberFormat.Field ("exponent");\r
-c$.DECIMAL_SEPARATOR = c$.prototype.DECIMAL_SEPARATOR =  new java.text.NumberFormat.Field ("decimal separator");\r
-c$.SIGN = c$.prototype.SIGN =  new java.text.NumberFormat.Field ("sign");\r
-c$.GROUPING_SEPARATOR = c$.prototype.GROUPING_SEPARATOR =  new java.text.NumberFormat.Field ("grouping separator");\r
-c$.EXPONENT_SYMBOL = c$.prototype.EXPONENT_SYMBOL =  new java.text.NumberFormat.Field ("exponent symbol");\r
-c$.PERCENT = c$.prototype.PERCENT =  new java.text.NumberFormat.Field ("percent");\r
-c$.PERMILLE = c$.prototype.PERMILLE =  new java.text.NumberFormat.Field ("per mille");\r
-c$.CURRENCY = c$.prototype.CURRENCY =  new java.text.NumberFormat.Field ("currency");\r
-c$.EXPONENT_SIGN = c$.prototype.EXPONENT_SIGN =  new java.text.NumberFormat.Field ("exponent sign");\r
-c$ = Clazz.p0p ();\r
-Clazz.defineStatics (c$,\r
-"INTEGER_FIELD", 0,\r
-"FRACTION_FIELD", 1);\r
-c$.cachedLocaleData = c$.prototype.cachedLocaleData =  new java.util.Hashtable (3);\r
-Clazz.defineStatics (c$,\r
-"NUMBERSTYLE", 0,\r
-"CURRENCYSTYLE", 1,\r
-"PERCENTSTYLE", 2,\r
-"SCIENTIFICSTYLE", 3,\r
-"INTEGERSTYLE", 4,\r
-"currentSerialVersion", 1);\r
-});\r
+Clazz.declarePackage ("java.text");
+Clazz.load (["java.text.Format", "java.util.HashMap", "$.Hashtable"], "java.text.NumberFormat", ["java.lang.Byte", "$.IllegalArgumentException", "$.Long", "$.Number", "$.Short", "$.StringBuffer", "$.UnsupportedOperationException", "java.text.DecimalFormatSymbols", "$.DontCareFieldPosition", "$.ParseException", "$.ParsePosition", "java.util.Locale", "jssun.util.resources.LocaleData"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.groupingUsed = true;
+this.maxFractionDigits = 3;
+this.parseIntegerOnly = false;
+this.maximumIntegerDigits = 40;
+this.minimumIntegerDigits = 1;
+this.maximumFractionDigits = 3;
+this.minimumFractionDigits = 0;
+Clazz.instantialize (this, arguments);
+}, java.text, "NumberFormat", java.text.Format);
+Clazz.makeConstructor (c$, 
+function () {
+Clazz.superConstructor (this, java.text.NumberFormat, []);
+});
+Clazz.defineMethod (c$, "format", 
+function (number, toAppendTo, pos) {
+if (Clazz.instanceOf (number, Long) || Clazz.instanceOf (number, Integer) || Clazz.instanceOf (number, Short) || Clazz.instanceOf (number, Byte)) {
+return this.format ((number).longValue (), toAppendTo, pos);
+} else if (Clazz.instanceOf (number, Number)) {
+return this.format ((number).doubleValue (), toAppendTo, pos);
+} else {
+throw  new IllegalArgumentException ("Cannot format given Object as a Number");
+}}, "~O,StringBuffer,java.text.FieldPosition");
+Clazz.defineMethod (c$, "parseObject", 
+function (source, pos) {
+return this.parse (source, pos);
+}, "~S,java.text.ParsePosition");
+Clazz.defineMethod (c$, "format", 
+function (number) {
+return this.format (number,  new StringBuffer (), java.text.DontCareFieldPosition.INSTANCE).toString ();
+}, "~N");
+Clazz.defineMethod (c$, "parse", 
+function (source) {
+var parsePosition =  new java.text.ParsePosition (0);
+var result = this.parse (source, parsePosition);
+if (parsePosition.index == 0) {
+throw  new java.text.ParseException ("Unparseable number: \"" + source + "\"", parsePosition.errorIndex);
+}return result;
+}, "~S");
+Clazz.defineMethod (c$, "isParseIntegerOnly", 
+function () {
+return this.parseIntegerOnly;
+});
+Clazz.defineMethod (c$, "setParseIntegerOnly", 
+function (value) {
+this.parseIntegerOnly = value;
+}, "~B");
+c$.getInstance = Clazz.defineMethod (c$, "getInstance", 
+function () {
+return java.text.NumberFormat.getInstance (java.util.Locale.getDefault (), 0);
+});
+c$.getInstance = Clazz.defineMethod (c$, "getInstance", 
+function (inLocale) {
+return java.text.NumberFormat.getInstance (inLocale, 0);
+}, "java.util.Locale");
+c$.getNumberInstance = Clazz.defineMethod (c$, "getNumberInstance", 
+function () {
+return java.text.NumberFormat.getInstance (java.util.Locale.getDefault (), 0);
+});
+c$.getNumberInstance = Clazz.defineMethod (c$, "getNumberInstance", 
+function (inLocale) {
+return java.text.NumberFormat.getInstance (inLocale, 0);
+}, "java.util.Locale");
+c$.getIntegerInstance = Clazz.defineMethod (c$, "getIntegerInstance", 
+function () {
+return java.text.NumberFormat.getInstance (java.util.Locale.getDefault (), 4);
+});
+c$.getIntegerInstance = Clazz.defineMethod (c$, "getIntegerInstance", 
+function (inLocale) {
+return java.text.NumberFormat.getInstance (inLocale, 4);
+}, "java.util.Locale");
+c$.getCurrencyInstance = Clazz.defineMethod (c$, "getCurrencyInstance", 
+function () {
+return java.text.NumberFormat.getInstance (java.util.Locale.getDefault (), 1);
+});
+c$.getCurrencyInstance = Clazz.defineMethod (c$, "getCurrencyInstance", 
+function (inLocale) {
+return java.text.NumberFormat.getInstance (inLocale, 1);
+}, "java.util.Locale");
+c$.getPercentInstance = Clazz.defineMethod (c$, "getPercentInstance", 
+function () {
+return java.text.NumberFormat.getInstance (java.util.Locale.getDefault (), 2);
+});
+c$.getPercentInstance = Clazz.defineMethod (c$, "getPercentInstance", 
+function (inLocale) {
+return java.text.NumberFormat.getInstance (inLocale, 2);
+}, "java.util.Locale");
+c$.getScientificInstance = Clazz.defineMethod (c$, "getScientificInstance", 
+function () {
+return java.text.NumberFormat.getInstance (java.util.Locale.getDefault (), 3);
+});
+c$.getScientificInstance = Clazz.defineMethod (c$, "getScientificInstance", 
+function (inLocale) {
+return java.text.NumberFormat.getInstance (inLocale, 3);
+}, "java.util.Locale");
+Clazz.overrideMethod (c$, "hashCode", 
+function () {
+return this.maximumIntegerDigits * 37 + this.maxFractionDigits;
+});
+Clazz.overrideMethod (c$, "equals", 
+function (obj) {
+if (obj == null) {
+return false;
+}if (this === obj) {
+return true;
+}if (this.getClass () !== obj.getClass ()) {
+return false;
+}var other = obj;
+return (this.maximumIntegerDigits == other.maximumIntegerDigits && this.minimumIntegerDigits == other.minimumIntegerDigits && this.maximumFractionDigits == other.maximumFractionDigits && this.minimumFractionDigits == other.minimumFractionDigits && this.groupingUsed == other.groupingUsed && this.parseIntegerOnly == other.parseIntegerOnly);
+}, "~O");
+Clazz.defineMethod (c$, "clone", 
+function () {
+var other = Clazz.superCall (this, java.text.NumberFormat, "clone", []);
+return other;
+});
+Clazz.defineMethod (c$, "isGroupingUsed", 
+function () {
+return this.groupingUsed;
+});
+Clazz.defineMethod (c$, "setGroupingUsed", 
+function (newValue) {
+this.groupingUsed = newValue;
+}, "~B");
+Clazz.defineMethod (c$, "getMaximumIntegerDigits", 
+function () {
+return this.maximumIntegerDigits;
+});
+Clazz.defineMethod (c$, "setMaximumIntegerDigits", 
+function (newValue) {
+this.maximumIntegerDigits = Math.max (0, newValue);
+if (this.minimumIntegerDigits > this.maximumIntegerDigits) {
+this.minimumIntegerDigits = this.maximumIntegerDigits;
+}}, "~N");
+Clazz.defineMethod (c$, "getMinimumIntegerDigits", 
+function () {
+return this.minimumIntegerDigits;
+});
+Clazz.defineMethod (c$, "setMinimumIntegerDigits", 
+function (newValue) {
+this.minimumIntegerDigits = Math.max (0, newValue);
+if (this.minimumIntegerDigits > this.maximumIntegerDigits) {
+this.maximumIntegerDigits = this.minimumIntegerDigits;
+}}, "~N");
+Clazz.defineMethod (c$, "getMaximumFractionDigits", 
+function () {
+return this.maximumFractionDigits;
+});
+Clazz.defineMethod (c$, "setMaximumFractionDigits", 
+function (newValue) {
+this.maximumFractionDigits = Math.max (0, newValue);
+if (this.maximumFractionDigits < this.minimumFractionDigits) {
+this.minimumFractionDigits = this.maximumFractionDigits;
+}}, "~N");
+Clazz.defineMethod (c$, "getMinimumFractionDigits", 
+function () {
+return this.minimumFractionDigits;
+});
+Clazz.defineMethod (c$, "setMinimumFractionDigits", 
+function (newValue) {
+this.minimumFractionDigits = Math.max (0, newValue);
+if (this.maximumFractionDigits < this.minimumFractionDigits) {
+this.maximumFractionDigits = this.minimumFractionDigits;
+}}, "~N");
+Clazz.defineMethod (c$, "getRoundingMode", 
+function () {
+throw  new UnsupportedOperationException ();
+});
+Clazz.defineMethod (c$, "setRoundingMode", 
+function (roundingMode) {
+throw  new UnsupportedOperationException ();
+}, "java.math.RoundingMode");
+c$.getInstance = Clazz.defineMethod (c$, "getInstance", 
+ function (desiredLocale, choice) {
+var numberPatterns = java.text.NumberFormat.cachedLocaleData.get (desiredLocale);
+if (numberPatterns == null) {
+var resource = jssun.util.resources.LocaleData.getNumberFormatData (desiredLocale);
+numberPatterns = resource.getStringArray ("NumberPatterns");
+java.text.NumberFormat.cachedLocaleData.put (desiredLocale, numberPatterns);
+}var symbols = java.text.DecimalFormatSymbols.getInstance (desiredLocale);
+var entry = (choice == 4) ? 0 : choice;
+var format =  new java.text.DecimalFormat (numberPatterns[entry], symbols);
+if (choice == 4) {
+format.setMaximumFractionDigits (0);
+format.setDecimalSeparatorAlwaysShown (false);
+format.setParseIntegerOnly (true);
+} else if (choice == 1) {
+format.adjustForCurrencyDefaultFractionDigits ();
+}return format;
+}, "java.util.Locale,~N");
+Clazz.pu$h(self.c$);
+c$ = Clazz.declareType (java.text.NumberFormat, "Field", java.text.Format.Field);
+Clazz.makeConstructor (c$, 
+function (a) {
+Clazz.superConstructor (this, java.text.NumberFormat.Field, [a]);
+if (this.getClass () === java.text.NumberFormat.Field) {
+java.text.NumberFormat.Field.$instanceMap.put (a, this);
+}}, "~S");
+c$.$instanceMap = c$.prototype.$instanceMap =  new java.util.HashMap (11);
+c$.INTEGER = c$.prototype.INTEGER =  new java.text.NumberFormat.Field ("integer");
+c$.FRACTION = c$.prototype.FRACTION =  new java.text.NumberFormat.Field ("fraction");
+c$.EXPONENT = c$.prototype.EXPONENT =  new java.text.NumberFormat.Field ("exponent");
+c$.DECIMAL_SEPARATOR = c$.prototype.DECIMAL_SEPARATOR =  new java.text.NumberFormat.Field ("decimal separator");
+c$.SIGN = c$.prototype.SIGN =  new java.text.NumberFormat.Field ("sign");
+c$.GROUPING_SEPARATOR = c$.prototype.GROUPING_SEPARATOR =  new java.text.NumberFormat.Field ("grouping separator");
+c$.EXPONENT_SYMBOL = c$.prototype.EXPONENT_SYMBOL =  new java.text.NumberFormat.Field ("exponent symbol");
+c$.PERCENT = c$.prototype.PERCENT =  new java.text.NumberFormat.Field ("percent");
+c$.PERMILLE = c$.prototype.PERMILLE =  new java.text.NumberFormat.Field ("per mille");
+c$.CURRENCY = c$.prototype.CURRENCY =  new java.text.NumberFormat.Field ("currency");
+c$.EXPONENT_SIGN = c$.prototype.EXPONENT_SIGN =  new java.text.NumberFormat.Field ("exponent sign");
+c$ = Clazz.p0p ();
+Clazz.defineStatics (c$,
+"INTEGER_FIELD", 0,
+"FRACTION_FIELD", 1);
+c$.cachedLocaleData = c$.prototype.cachedLocaleData =  new java.util.Hashtable (3);
+Clazz.defineStatics (c$,
+"NUMBERSTYLE", 0,
+"CURRENCYSTYLE", 1,
+"PERCENTSTYLE", 2,
+"SCIENTIFICSTYLE", 3,
+"INTEGERSTYLE", 4,
+"currentSerialVersion", 1);
+});