rev187
This commit is contained in:
@@ -4,30 +4,30 @@ import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("jw")
|
||||
@ObfuscatedName("jo")
|
||||
@Implements("IterableDualNodeQueueIterator")
|
||||
public class IterableDualNodeQueueIterator implements Iterator {
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Ljz;"
|
||||
signature = "Lji;"
|
||||
)
|
||||
@Export("queue")
|
||||
IterableDualNodeQueue queue;
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lfn;"
|
||||
signature = "Lgw;"
|
||||
)
|
||||
@Export("head")
|
||||
DualNode head;
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lfn;"
|
||||
signature = "Lgw;"
|
||||
)
|
||||
@Export("last")
|
||||
DualNode last;
|
||||
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ljz;)V"
|
||||
signature = "(Lji;)V"
|
||||
)
|
||||
IterableDualNodeQueueIterator(IterableDualNodeQueue var1) {
|
||||
this.last = null;
|
||||
@@ -54,7 +54,11 @@ public class IterableDualNodeQueueIterator implements Iterator {
|
||||
}
|
||||
|
||||
public void remove() {
|
||||
this.last.removeDual();
|
||||
this.last = null;
|
||||
if (this.last == null) {
|
||||
throw new IllegalStateException();
|
||||
} else {
|
||||
this.last.removeDual();
|
||||
this.last = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user