X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjalview%2Futil%2FReverseListIterator.js;fp=site%2Fj2s%2Fjalview%2Futil%2FReverseListIterator.js;h=66e861f27bb6eaccdabfa1f9bbba0f64f6da45e0;hp=f9edbc884b7065fb38ae8c2edb47135e0701afd5;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/jalview/util/ReverseListIterator.js b/site/j2s/jalview/util/ReverseListIterator.js index f9edbc8..66e861f 100644 --- a/site/j2s/jalview/util/ReverseListIterator.js +++ b/site/j2s/jalview/util/ReverseListIterator.js @@ -1,23 +1,23 @@ -Clazz.declarePackage ("jalview.util"); -Clazz.load (["java.util.Iterator"], "jalview.util.ReverseListIterator", null, function () { -c$ = Clazz.decorateAsClass (function () { -this.iterator = null; -Clazz.instantialize (this, arguments); -}, jalview.util, "ReverseListIterator", null, java.util.Iterator); -Clazz.makeConstructor (c$, -function (stuff) { -this.iterator = stuff.listIterator (stuff.size ()); -}, "java.util.List"); -Clazz.overrideMethod (c$, "hasNext", -function () { -return this.iterator.hasPrevious (); -}); -Clazz.overrideMethod (c$, "next", -function () { -return this.iterator.previous (); -}); -Clazz.overrideMethod (c$, "remove", -function () { -this.iterator.remove (); -}); -}); +Clazz.declarePackage ("jalview.util"); +Clazz.load (["java.util.Iterator"], "jalview.util.ReverseListIterator", null, function () { +c$ = Clazz.decorateAsClass (function () { +this.iterator = null; +Clazz.instantialize (this, arguments); +}, jalview.util, "ReverseListIterator", null, java.util.Iterator); +Clazz.makeConstructor (c$, +function (stuff) { +this.iterator = stuff.listIterator (stuff.size ()); +}, "java.util.List"); +Clazz.overrideMethod (c$, "hasNext", +function () { +return this.iterator.hasPrevious (); +}); +Clazz.overrideMethod (c$, "next", +function () { +return this.iterator.previous (); +}); +Clazz.overrideMethod (c$, "remove", +function () { +this.iterator.remove (); +}); +});