-Clazz.load (["java.lang.Comparable", "$.Number"], "java.lang.Short", null, function () {\r
-java.lang.Short = Short = function () {\r
-Clazz.instantialize (this, arguments);\r
-};\r
-Clazz.decorateAsType (Short, "Short", Number, Comparable, null, true);\r
-Short.prototype.valueOf = function () { return 0; };\r
-Short.toString = Short.prototype.toString = function () {\r
- if (arguments.length != 0) {\r
- return "" + arguments[0];\r
- } else if (this === Short) {\r
- return "class java.lang.Short"; // Short.class.toString\r
- }\r
- return "" + this.valueOf ();\r
-};\r
-Clazz.makeConstructor (Short, \r
-function () {\r
-this.valueOf = function () {\r
- return 0;\r
-};\r
-});\r
-Clazz.makeConstructor (Short, \r
-function (value) {\r
-var v = Math.round (value) & 0xffffffff;\r
-this.valueOf = function () {\r
- return v;\r
-};\r
-}, "Number");\r
-Clazz.makeConstructor (Short, \r
-function (s) {\r
-var value = Short.parseShort (s, 10);\r
-this.valueOf = function () {\r
- return value;\r
-};\r
-}, "String");\r
-Short.serialVersionUID = Short.prototype.serialVersionUID = 7515723908773894738;\r
-Short.MIN_VALUE = Short.prototype.MIN_VALUE = -32768;\r
-Short.MAX_VALUE = Short.prototype.MAX_VALUE = 32767;\r
-Short.TYPE = Short.prototype.TYPE = Short;\r
-\r
-Clazz.defineMethod (Short, "parseShort", \r
-function (s, radix) {\r
-if (s == null) {\r
-throw new NumberFormatException ("null");\r
-}if (radix < 2) {\r
-throw new NumberFormatException ("radix " + radix + " less than Character.MIN_RADIX");\r
-}if (radix > 36) {\r
-throw new NumberFormatException ("radix " + radix + " greater than Character.MAX_RADIX");\r
-}\r
+Clazz.load (["java.lang.Comparable", "$.Number"], "java.lang.Short", null, function () {
+java.lang.Short = Short = function () {
+Clazz.instantialize (this, arguments);
+};
+Clazz.decorateAsType (Short, "Short", Number, Comparable, null, true);
+Short.prototype.valueOf = function () { return 0; };
+Short.toString = Short.prototype.toString = function () {
+ if (arguments.length != 0) {
+ return "" + arguments[0];
+ } else if (this === Short) {
+ return "class java.lang.Short"; // Short.class.toString
+ }
+ return "" + this.valueOf ();
+};
+Clazz.makeConstructor (Short,
+function () {
+this.valueOf = function () {
+ return 0;
+};
+});
+Clazz.makeConstructor (Short,
+function (value) {
+var v = Math.round (value) & 0xffffffff;
+this.valueOf = function () {
+ return v;
+};
+}, "Number");
+Clazz.makeConstructor (Short,
+function (s) {
+var value = Short.parseShort (s, 10);
+this.valueOf = function () {
+ return value;
+};
+}, "String");
+Short.serialVersionUID = Short.prototype.serialVersionUID = 7515723908773894738;
+Short.MIN_VALUE = Short.prototype.MIN_VALUE = -32768;
+Short.MAX_VALUE = Short.prototype.MAX_VALUE = 32767;
+Short.TYPE = Short.prototype.TYPE = Short;
+
+Clazz.defineMethod (Short, "parseShort",
+function (s, radix) {
+if (s == null) {
+throw new NumberFormatException ("null");
+}if (radix < 2) {
+throw new NumberFormatException ("radix " + radix + " less than Character.MIN_RADIX");
+}if (radix > 36) {
+throw new NumberFormatException ("radix " + radix + " greater than Character.MAX_RADIX");
+}