project: Rev 204

This commit is contained in:
Owain van Brakel
2022-03-23 14:15:28 +01:00
parent 14d41dd9a4
commit 3834b46aee
532 changed files with 61751 additions and 59895 deletions

View File

@@ -5,20 +5,20 @@ import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("lt")
@ObfuscatedName("ld")
@Implements("IterableNodeDeque")
public class IterableNodeDeque implements Iterable, Collection {
@ObfuscatedName("c")
@ObfuscatedName("v")
@ObfuscatedSignature(
descriptor = "Loe;"
descriptor = "Loz;"
)
@Export("sentinel")
Node sentinel;
@ObfuscatedName("l")
@ObfuscatedName("o")
@ObfuscatedSignature(
descriptor = "Loe;"
descriptor = "Loz;"
)
Node field4014;
Node field4099;
public IterableNodeDeque() {
this.sentinel = new Node(); // L: 7
@@ -26,7 +26,7 @@ public class IterableNodeDeque implements Iterable, Collection {
this.sentinel.next = this.sentinel; // L: 12
} // L: 13
@ObfuscatedName("c")
@ObfuscatedName("v")
@Export("rsClear")
public void rsClear() {
while (this.sentinel.previous != this.sentinel) { // L: 16
@@ -35,9 +35,9 @@ public class IterableNodeDeque implements Iterable, Collection {
} // L: 19
@ObfuscatedName("l")
@ObfuscatedName("o")
@ObfuscatedSignature(
descriptor = "(Loe;)V"
descriptor = "(Loz;)V"
)
@Export("addFirst")
public void addFirst(Node var1) {
@@ -51,9 +51,9 @@ public class IterableNodeDeque implements Iterable, Collection {
var1.previous.next = var1; // L: 26
} // L: 27
@ObfuscatedName("s")
@ObfuscatedName("h")
@ObfuscatedSignature(
descriptor = "(Loe;)V"
descriptor = "(Loz;)V"
)
@Export("addLast")
public void addLast(Node var1) {
@@ -67,20 +67,20 @@ public class IterableNodeDeque implements Iterable, Collection {
var1.previous.next = var1; // L: 34
} // L: 35
@ObfuscatedName("r")
@ObfuscatedName("l")
@ObfuscatedSignature(
descriptor = "()Loe;"
descriptor = "()Loz;"
)
@Export("last")
public Node last() {
return this.method5879((Node)null); // L: 46
return this.method6278((Node)null); // L: 46
}
@ObfuscatedName("o")
@ObfuscatedName("n")
@ObfuscatedSignature(
descriptor = "(Loe;)Loe;"
descriptor = "(Loz;)Loz;"
)
Node method5879(Node var1) {
Node method6278(Node var1) {
Node var2;
if (var1 == null) { // L: 52
var2 = this.sentinel.previous;
@@ -89,32 +89,32 @@ public class IterableNodeDeque implements Iterable, Collection {
}
if (var2 == this.sentinel) { // L: 54
this.field4014 = null; // L: 55
this.field4099 = null; // L: 55
return null; // L: 56
} else {
this.field4014 = var2.previous; // L: 58
this.field4099 = var2.previous; // L: 58
return var2; // L: 59
}
}
@ObfuscatedName("i")
@ObfuscatedName("d")
@ObfuscatedSignature(
descriptor = "()Loe;"
descriptor = "()Loz;"
)
@Export("previous")
public Node previous() {
Node var1 = this.field4014; // L: 64
Node var1 = this.field4099; // L: 64
if (var1 == this.sentinel) { // L: 65
this.field4014 = null; // L: 66
this.field4099 = null; // L: 66
return null; // L: 67
} else {
this.field4014 = var1.previous; // L: 69
this.field4099 = var1.previous; // L: 69
return var1; // L: 70
}
}
@ObfuscatedName("w")
int method5881() {
@ObfuscatedName("f")
int method6235() {
int var1 = 0; // L: 74
for (Node var2 = this.sentinel.previous; var2 != this.sentinel; var2 = var2.previous) { // L: 75 76 78
@@ -124,17 +124,17 @@ public class IterableNodeDeque implements Iterable, Collection {
return var1; // L: 80
}
@ObfuscatedName("v")
public boolean method5882() {
@ObfuscatedName("u")
public boolean method6269() {
return this.sentinel.previous == this.sentinel; // L: 84
}
@ObfuscatedName("a")
@ObfuscatedName("r")
@ObfuscatedSignature(
descriptor = "()[Loe;"
descriptor = "()[Loz;"
)
Node[] method5948() {
Node[] var1 = new Node[this.method5881()]; // L: 88
Node[] method6216() {
Node[] var1 = new Node[this.method6235()]; // L: 88
int var2 = 0; // L: 89
for (Node var3 = this.sentinel.previous; var3 != this.sentinel; var3 = var3.previous) { // L: 90 91 93
@@ -144,21 +144,21 @@ public class IterableNodeDeque implements Iterable, Collection {
return var1; // L: 95
}
@ObfuscatedName("y")
@ObfuscatedName("k")
@ObfuscatedSignature(
descriptor = "(Loe;)Z"
descriptor = "(Loz;)Z"
)
boolean method5885(Node var1) {
boolean method6219(Node var1) {
this.addFirst(var1); // L: 135
return true; // L: 136
}
public int hashCode() {
return super.hashCode(); // L: 178
public boolean remove(Object var1) {
throw new RuntimeException(); // L: 141
}
public boolean isEmpty() {
return this.method5882(); // L: 109
return this.method6269(); // L: 109
}
public boolean contains(Object var1) {
@@ -166,7 +166,7 @@ public class IterableNodeDeque implements Iterable, Collection {
}
public Object[] toArray() {
return this.method5948(); // L: 119
return this.method6216(); // L: 119
}
public Object[] toArray(Object[] var1) {
@@ -179,10 +179,6 @@ public class IterableNodeDeque implements Iterable, Collection {
return var1; // L: 131
}
public boolean remove(Object var1) {
throw new RuntimeException(); // L: 141
}
public boolean containsAll(Collection var1) {
throw new RuntimeException(); // L: 146
}
@@ -191,37 +187,41 @@ public class IterableNodeDeque implements Iterable, Collection {
throw new RuntimeException(); // L: 156
}
public void clear() {
this.rsClear(); // L: 166
} // L: 167
public boolean add(Object var1) {
return this.method5885((Node)var1); // L: 170
}
public boolean equals(Object var1) {
return super.equals(var1); // L: 174
}
public boolean retainAll(Collection var1) {
throw new RuntimeException(); // L: 161
public int size() {
return this.method6235(); // L: 104
}
public Iterator iterator() {
return new IterableNodeDequeDescendingIterator(this); // L: 99
}
public boolean add(Object var1) {
return this.method6219((Node)var1); // L: 170
}
public boolean equals(Object var1) {
return super.equals(var1); // L: 174
}
public int hashCode() {
return super.hashCode(); // L: 178
}
public boolean retainAll(Collection var1) {
throw new RuntimeException(); // L: 161
}
public void clear() {
this.rsClear(); // L: 166
} // L: 167
public boolean addAll(Collection var1) {
throw new RuntimeException(); // L: 151
}
public int size() {
return this.method5881(); // L: 104
}
@ObfuscatedName("e")
@ObfuscatedName("g")
@ObfuscatedSignature(
descriptor = "(Loe;Loe;)V"
descriptor = "(Loz;Loz;)V"
)
@Export("IterableNodeDeque_addBefore")
public static void IterableNodeDeque_addBefore(Node var0, Node var1) {