Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / java / text / ParsePosition.js
index cf505a6..6234784 100644 (file)
@@ -1,41 +1,41 @@
-Clazz.declarePackage ("java.text");\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.index = 0;\r
-this.errorIndex = -1;\r
-Clazz.instantialize (this, arguments);\r
-}, java.text, "ParsePosition");\r
-Clazz.defineMethod (c$, "getIndex", \r
-function () {\r
-return this.index;\r
-});\r
-Clazz.defineMethod (c$, "setIndex", \r
-function (index) {\r
-this.index = index;\r
-}, "~N");\r
-Clazz.makeConstructor (c$, \r
-function (index) {\r
-this.index = index;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "setErrorIndex", \r
-function (ei) {\r
-this.errorIndex = ei;\r
-}, "~N");\r
-Clazz.defineMethod (c$, "getErrorIndex", \r
-function () {\r
-return this.errorIndex;\r
-});\r
-Clazz.overrideMethod (c$, "equals", \r
-function (obj) {\r
-if (obj == null) return false;\r
-if (!(Clazz.instanceOf (obj, java.text.ParsePosition))) return false;\r
-var other = obj;\r
-return (this.index == other.index && this.errorIndex == other.errorIndex);\r
-}, "~O");\r
-Clazz.overrideMethod (c$, "hashCode", \r
-function () {\r
-return (this.errorIndex << 16) | this.index;\r
-});\r
-Clazz.overrideMethod (c$, "toString", \r
-function () {\r
-return this.getClass ().getName () + "[index=" + this.index + ",errorIndex=" + this.errorIndex + ']';\r
-});\r
+Clazz.declarePackage ("java.text");
+c$ = Clazz.decorateAsClass (function () {
+this.index = 0;
+this.errorIndex = -1;
+Clazz.instantialize (this, arguments);
+}, java.text, "ParsePosition");
+Clazz.defineMethod (c$, "getIndex", 
+function () {
+return this.index;
+});
+Clazz.defineMethod (c$, "setIndex", 
+function (index) {
+this.index = index;
+}, "~N");
+Clazz.makeConstructor (c$, 
+function (index) {
+this.index = index;
+}, "~N");
+Clazz.defineMethod (c$, "setErrorIndex", 
+function (ei) {
+this.errorIndex = ei;
+}, "~N");
+Clazz.defineMethod (c$, "getErrorIndex", 
+function () {
+return this.errorIndex;
+});
+Clazz.overrideMethod (c$, "equals", 
+function (obj) {
+if (obj == null) return false;
+if (!(Clazz.instanceOf (obj, java.text.ParsePosition))) return false;
+var other = obj;
+return (this.index == other.index && this.errorIndex == other.errorIndex);
+}, "~O");
+Clazz.overrideMethod (c$, "hashCode", 
+function () {
+return (this.errorIndex << 16) | this.index;
+});
+Clazz.overrideMethod (c$, "toString", 
+function () {
+return this.getClass ().getName () + "[index=" + this.index + ",errorIndex=" + this.errorIndex + ']';
+});