project: Rev 182
This commit is contained in:
@@ -3,31 +3,31 @@ import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("lc")
|
||||
@ObfuscatedName("lm")
|
||||
@Implements("NodeHashTable")
|
||||
public final class NodeHashTable {
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedName("s")
|
||||
@Export("size")
|
||||
int size;
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedSignature(
|
||||
signature = "[Lfw;"
|
||||
signature = "[Lfb;"
|
||||
)
|
||||
@Export("buckets")
|
||||
Node[] buckets;
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lfw;"
|
||||
signature = "Lfb;"
|
||||
)
|
||||
@Export("currentGet")
|
||||
Node currentGet;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lfw;"
|
||||
signature = "Lfb;"
|
||||
)
|
||||
@Export("current")
|
||||
Node current;
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedName("u")
|
||||
@Export("index")
|
||||
int index;
|
||||
|
||||
@@ -44,9 +44,9 @@ public final class NodeHashTable {
|
||||
|
||||
}
|
||||
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(J)Lfw;"
|
||||
signature = "(J)Lfb;"
|
||||
)
|
||||
@Export("get")
|
||||
public Node get(long var1) {
|
||||
@@ -64,9 +64,9 @@ public final class NodeHashTable {
|
||||
return null;
|
||||
}
|
||||
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lfw;J)V"
|
||||
signature = "(Lfb;J)V"
|
||||
)
|
||||
@Export("put")
|
||||
public void put(Node var1, long var2) {
|
||||
@@ -82,9 +82,9 @@ public final class NodeHashTable {
|
||||
var1.key = var2;
|
||||
}
|
||||
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfw;"
|
||||
signature = "()Lfb;"
|
||||
)
|
||||
@Export("first")
|
||||
public Node first() {
|
||||
@@ -92,27 +92,28 @@ public final class NodeHashTable {
|
||||
return this.next();
|
||||
}
|
||||
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfw;"
|
||||
signature = "()Lfb;"
|
||||
)
|
||||
@Export("next")
|
||||
public Node next() {
|
||||
Node var1;
|
||||
if (this.index > 0 && this.buckets[this.index - 1] != this.current) {
|
||||
var1 = this.current;
|
||||
this.current = var1.previous;
|
||||
return var1;
|
||||
} else {
|
||||
do {
|
||||
if (this.index >= this.size) {
|
||||
return null;
|
||||
}
|
||||
|
||||
var1 = this.buckets[this.index++].previous;
|
||||
} while(var1 == this.buckets[this.index - 1]);
|
||||
|
||||
this.current = var1.previous;
|
||||
return var1;
|
||||
}
|
||||
do {
|
||||
if (this.index >= this.size) {
|
||||
return null;
|
||||
}
|
||||
|
||||
var1 = this.buckets[this.index++].previous;
|
||||
} while(var1 == this.buckets[this.index - 1]);
|
||||
|
||||
this.current = var1.previous;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user