project: Rev 182
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("jl")
|
||||
@ObfuscatedName("jz")
|
||||
@Implements("IterableDualNodeQueueIterator")
|
||||
public class IterableDualNodeQueueIterator implements Iterator {
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Ljk;"
|
||||
signature = "Ljm;"
|
||||
)
|
||||
@Export("queue")
|
||||
IterableDualNodeQueue queue;
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lfb;"
|
||||
signature = "Lfe;"
|
||||
)
|
||||
@Export("head")
|
||||
DualNode head;
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lfb;"
|
||||
signature = "Lfe;"
|
||||
)
|
||||
@Export("last")
|
||||
DualNode last;
|
||||
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ljk;)V"
|
||||
signature = "(Ljm;)V"
|
||||
)
|
||||
IterableDualNodeQueueIterator(IterableDualNodeQueue var1) {
|
||||
this.last = null;
|
||||
@@ -40,6 +40,15 @@ public class IterableDualNodeQueueIterator implements Iterator {
|
||||
return this.queue.sentinel != this.head;
|
||||
}
|
||||
|
||||
public void remove() {
|
||||
if (this.last == null) {
|
||||
throw new IllegalStateException();
|
||||
} else {
|
||||
this.last.removeDual();
|
||||
this.last = null;
|
||||
}
|
||||
}
|
||||
|
||||
public Object next() {
|
||||
DualNode var1 = this.head;
|
||||
if (var1 == this.queue.sentinel) {
|
||||
@@ -52,12 +61,4 @@ public class IterableDualNodeQueueIterator implements Iterator {
|
||||
this.last = var1;
|
||||
return var1;
|
||||
}
|
||||
|
||||
public void remove() {
|
||||
if (this.last == null) {
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
this.last.removeDual();
|
||||
this.last = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user