Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / com / stevesoft / pat / patInt.js
index 2d65e56..b7226f7 100644 (file)
@@ -1,94 +1,94 @@
-Clazz.declarePackage ("com.stevesoft.pat");\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.i = 0;\r
-this.inf = false;\r
-Clazz.instantialize (this, arguments);\r
-}, com.stevesoft.pat, "patInt");\r
-Clazz.makeConstructor (c$, \r
-function () {\r
-this.i = 0;\r
-this.inf = false;\r
-});\r
-Clazz.makeConstructor (c$, \r
-function (init) {\r
-this.i = init;\r
-this.inf = false;\r
-}, "~N");\r
-Clazz.makeConstructor (c$, \r
-function (p) {\r
-this.i = p.i;\r
-this.inf = p.inf;\r
-}, "com.stevesoft.pat.patInt");\r
-Clazz.defineMethod (c$, "setInf", \r
-function (b) {\r
-this.inf = b;\r
-if (b) {\r
-this.i = 2147483647;\r
-}}, "~B");\r
-Clazz.defineMethod (c$, "inc", \r
-function () {\r
-if (!this.inf) {\r
-this.i++;\r
-}});\r
-Clazz.defineMethod (c$, "dec", \r
-function () {\r
-if (!this.inf) {\r
-this.i--;\r
-}});\r
-Clazz.defineMethod (c$, "lessEq", \r
-function (j) {\r
-return !this.inf && (j.inf || this.i <= j.i);\r
-}, "com.stevesoft.pat.patInt");\r
-Clazz.defineMethod (c$, "equals", \r
-function (j) {\r
-return !j.inf && !this.inf && this.i == j.i;\r
-}, "com.stevesoft.pat.patInt");\r
-Clazz.overrideMethod (c$, "toString", \r
-function () {\r
-if (this.inf) {\r
-return "";\r
-} else {\r
-return "" + this.i;\r
-}});\r
-Clazz.defineMethod (c$, "pluseq", \r
-function (p) {\r
-if (this.inf || p.inf) {\r
-this.setInf (true);\r
-} else {\r
-this.i += p.i;\r
-}return this;\r
-}, "com.stevesoft.pat.patInt");\r
-Clazz.defineMethod (c$, "mul", \r
-function (p) {\r
-if (this.inf || p.inf) {\r
-return  new com.stevesoft.pat.patInf ();\r
-}return  new com.stevesoft.pat.patInt (this.i * p.i);\r
-}, "com.stevesoft.pat.patInt");\r
-Clazz.defineMethod (c$, "mineq", \r
-function (p) {\r
-if (p.inf) {\r
-return this;\r
-}if (this.inf) {\r
-this.i = p.i;\r
-} else if (p.i < this.i) {\r
-this.i = p.i;\r
-}this.setInf (false);\r
-return this;\r
-}, "com.stevesoft.pat.patInt");\r
-Clazz.defineMethod (c$, "maxeq", \r
-function (p) {\r
-if (this.inf || p.inf) {\r
-this.setInf (true);\r
-return this;\r
-}if (p.i > this.i) {\r
-this.i = p.i;\r
-}return this;\r
-}, "com.stevesoft.pat.patInt");\r
-Clazz.defineMethod (c$, "finite", \r
-function () {\r
-return !this.inf;\r
-});\r
-Clazz.defineMethod (c$, "intValue", \r
-function () {\r
-return this.inf ? 2147483647 : this.i;\r
-});\r
+Clazz.declarePackage ("com.stevesoft.pat");
+c$ = Clazz.decorateAsClass (function () {
+this.i = 0;
+this.inf = false;
+Clazz.instantialize (this, arguments);
+}, com.stevesoft.pat, "patInt");
+Clazz.makeConstructor (c$, 
+function () {
+this.i = 0;
+this.inf = false;
+});
+Clazz.makeConstructor (c$, 
+function (init) {
+this.i = init;
+this.inf = false;
+}, "~N");
+Clazz.makeConstructor (c$, 
+function (p) {
+this.i = p.i;
+this.inf = p.inf;
+}, "com.stevesoft.pat.patInt");
+Clazz.defineMethod (c$, "setInf", 
+function (b) {
+this.inf = b;
+if (b) {
+this.i = 2147483647;
+}}, "~B");
+Clazz.defineMethod (c$, "inc", 
+function () {
+if (!this.inf) {
+this.i++;
+}});
+Clazz.defineMethod (c$, "dec", 
+function () {
+if (!this.inf) {
+this.i--;
+}});
+Clazz.defineMethod (c$, "lessEq", 
+function (j) {
+return !this.inf && (j.inf || this.i <= j.i);
+}, "com.stevesoft.pat.patInt");
+Clazz.defineMethod (c$, "equals", 
+function (j) {
+return !j.inf && !this.inf && this.i == j.i;
+}, "com.stevesoft.pat.patInt");
+Clazz.overrideMethod (c$, "toString", 
+function () {
+if (this.inf) {
+return "";
+} else {
+return "" + this.i;
+}});
+Clazz.defineMethod (c$, "pluseq", 
+function (p) {
+if (this.inf || p.inf) {
+this.setInf (true);
+} else {
+this.i += p.i;
+}return this;
+}, "com.stevesoft.pat.patInt");
+Clazz.defineMethod (c$, "mul", 
+function (p) {
+if (this.inf || p.inf) {
+return  new com.stevesoft.pat.patInf ();
+}return  new com.stevesoft.pat.patInt (this.i * p.i);
+}, "com.stevesoft.pat.patInt");
+Clazz.defineMethod (c$, "mineq", 
+function (p) {
+if (p.inf) {
+return this;
+}if (this.inf) {
+this.i = p.i;
+} else if (p.i < this.i) {
+this.i = p.i;
+}this.setInf (false);
+return this;
+}, "com.stevesoft.pat.patInt");
+Clazz.defineMethod (c$, "maxeq", 
+function (p) {
+if (this.inf || p.inf) {
+this.setInf (true);
+return this;
+}if (p.i > this.i) {
+this.i = p.i;
+}return this;
+}, "com.stevesoft.pat.patInt");
+Clazz.defineMethod (c$, "finite", 
+function () {
+return !this.inf;
+});
+Clazz.defineMethod (c$, "intValue", 
+function () {
+return this.inf ? 2147483647 : this.i;
+});