1 Clazz.declarePackage ("jalview.util");
2 Clazz.load (["java.util.Iterator"], "jalview.util.ReverseListIterator", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
5 Clazz.instantialize (this, arguments);
6 }, jalview.util, "ReverseListIterator", null, java.util.Iterator);
7 Clazz.makeConstructor (c$,
9 this.iterator = stuff.listIterator (stuff.size ());
11 Clazz.overrideMethod (c$, "hasNext",
13 return this.iterator.hasPrevious ();
15 Clazz.overrideMethod (c$, "next",
17 return this.iterator.previous ();
19 Clazz.overrideMethod (c$, "remove",
21 this.iterator.remove ();