X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=bin%2Fjalview%2Futil%2FReverseListIterator.js;h=66e861f27bb6eaccdabfa1f9bbba0f64f6da45e0;hp=f9edbc884b7065fb38ae8c2edb47135e0701afd5;hb=7301a2415adab88038b291fc54caeeb3a5a47a44;hpb=6154cb57a6eac3bb1344b8342495f5bb701ee921 diff --git a/bin/jalview/util/ReverseListIterator.js b/bin/jalview/util/ReverseListIterator.js index f9edbc8..66e861f 100644 --- a/bin/jalview/util/ReverseListIterator.js +++ b/bin/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 (); +}); +});