project: rev 200
This commit is contained in:
@@ -3,32 +3,32 @@ import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("hv")
|
||||
@ObfuscatedName("hs")
|
||||
@Implements("DemotingHashTable")
|
||||
public final class DemotingHashTable {
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("l")
|
||||
@Export("capacity")
|
||||
int capacity;
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedName("q")
|
||||
@Export("remaining")
|
||||
int remaining;
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lnz;"
|
||||
)
|
||||
@Export("hashTable")
|
||||
IterableNodeHashTable hashTable;
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Llz;"
|
||||
descriptor = "Llh;"
|
||||
)
|
||||
@Export("queue")
|
||||
IterableDualNodeQueue queue;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lhx;"
|
||||
descriptor = "Lhv;"
|
||||
)
|
||||
class232 field2631;
|
||||
class232 field2650;
|
||||
|
||||
public DemotingHashTable(int var1, int var2) {
|
||||
this.queue = new IterableDualNodeQueue();
|
||||
@@ -46,7 +46,7 @@ public final class DemotingHashTable {
|
||||
this(var1, var1);
|
||||
}
|
||||
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("l")
|
||||
@Export("get")
|
||||
public Object get(long var1) {
|
||||
Wrapper var3 = (Wrapper)this.hashTable.get(var1);
|
||||
@@ -77,16 +77,16 @@ public final class DemotingHashTable {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedName("q")
|
||||
@Export("remove")
|
||||
void remove(long var1) {
|
||||
Wrapper var3 = (Wrapper)this.hashTable.get(var1);
|
||||
this.removeWrapper(var3);
|
||||
}
|
||||
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lij;)V"
|
||||
descriptor = "(Lik;)V"
|
||||
)
|
||||
@Export("removeWrapper")
|
||||
void removeWrapper(Wrapper var1) {
|
||||
@@ -98,12 +98,12 @@ public final class DemotingHashTable {
|
||||
|
||||
}
|
||||
|
||||
@ObfuscatedName("k")
|
||||
public void method4520(Object var1, long var2) {
|
||||
@ObfuscatedName("j")
|
||||
public void method4588(Object var1, long var2) {
|
||||
this.put(var1, var2, 1);
|
||||
}
|
||||
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("m")
|
||||
@Export("put")
|
||||
public void put(Object var1, long var2, int var4) {
|
||||
if (var4 > this.capacity) {
|
||||
@@ -122,8 +122,8 @@ public final class DemotingHashTable {
|
||||
}
|
||||
|
||||
this.removeWrapper(var5);
|
||||
if (this.field2631 != null) {
|
||||
this.field2631.method4499(var5.get());
|
||||
if (this.field2650 != null) {
|
||||
this.field2650.method4582(var5.get());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ public final class DemotingHashTable {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedName("k")
|
||||
@Export("demote")
|
||||
public void demote(int var1) {
|
||||
for (Wrapper var2 = (Wrapper)this.queue.last(); var2 != null; var2 = (Wrapper)this.queue.previous()) {
|
||||
@@ -155,7 +155,7 @@ public final class DemotingHashTable {
|
||||
|
||||
}
|
||||
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedName("t")
|
||||
@Export("clear")
|
||||
public void clear() {
|
||||
this.queue.clear();
|
||||
|
||||
Reference in New Issue
Block a user