This commit is contained in:
Lucwousin
2019-10-31 16:57:45 +01:00
parent 8b7eaf23f1
commit e7a1983158
344 changed files with 41280 additions and 41078 deletions

View File

@@ -4,33 +4,33 @@ import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("ls")
@ObfuscatedName("ll")
@Implements("IterableNodeHashTableIterator")
public class IterableNodeHashTableIterator implements Iterator {
@ObfuscatedName("z")
@ObfuscatedName("a")
@ObfuscatedSignature(
signature = "Llb;"
signature = "Llr;"
)
@Export("hashTable")
IterableNodeHashTable hashTable;
@ObfuscatedName("n")
@ObfuscatedName("t")
@ObfuscatedSignature(
signature = "Lfx;"
signature = "Lfd;"
)
@Export("head")
Node head;
@ObfuscatedName("v")
@ObfuscatedName("n")
@Export("index")
int index;
@ObfuscatedName("u")
@ObfuscatedName("q")
@ObfuscatedSignature(
signature = "Lfx;"
signature = "Lfd;"
)
@Export("last")
Node last;
@ObfuscatedSignature(
signature = "(Llb;)V"
signature = "(Llr;)V"
)
IterableNodeHashTableIterator(IterableNodeHashTable var1) {
this.last = null;
@@ -38,7 +38,7 @@ public class IterableNodeHashTableIterator implements Iterator {
this.start();
}
@ObfuscatedName("i")
@ObfuscatedName("d")
@Export("start")
void start() {
this.head = this.hashTable.buckets[0].previous;
@@ -46,15 +46,6 @@ public class IterableNodeHashTableIterator implements Iterator {
this.last = null;
}
public void remove() {
if (this.last == null) {
throw new IllegalStateException();
} else {
this.last.remove();
this.last = null;
}
}
public Object next() {
Node var1;
if (this.hashTable.buckets[this.index - 1] != this.head) {
@@ -93,4 +84,13 @@ public class IterableNodeHashTableIterator implements Iterator {
return false;
}
}
public void remove() {
if (this.last == null) {
throw new IllegalStateException();
} else {
this.last.remove();
this.last = null;
}
}
}