client: rev 198 (#3014)
* client: rev 198 * client: checkstyle Co-authored-by: therealnull <therealnull@gmail.com>
This commit is contained in:
@@ -5,233 +5,233 @@ import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("kz")
|
||||
@ObfuscatedName("kk")
|
||||
@Implements("IterableNodeDeque")
|
||||
public class IterableNodeDeque implements Iterable, Collection {
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lmf;"
|
||||
descriptor = "Lml;"
|
||||
)
|
||||
@Export("sentinel")
|
||||
Node sentinel;
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lmf;"
|
||||
descriptor = "Lml;"
|
||||
)
|
||||
Node field3712;
|
||||
Node field3723;
|
||||
|
||||
public IterableNodeDeque() {
|
||||
this.sentinel = new Node(); // L: 7
|
||||
this.sentinel.previous = this.sentinel; // L: 11
|
||||
this.sentinel.next = this.sentinel; // L: 12
|
||||
} // L: 13
|
||||
this.sentinel = new Node();
|
||||
this.sentinel.previous = this.sentinel;
|
||||
this.sentinel.next = this.sentinel;
|
||||
}
|
||||
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("s")
|
||||
@Export("rsClear")
|
||||
public void rsClear() {
|
||||
while (this.sentinel.previous != this.sentinel) { // L: 16
|
||||
this.sentinel.previous.remove(); // L: 17
|
||||
while (this.sentinel.previous != this.sentinel) {
|
||||
this.sentinel.previous.remove();
|
||||
}
|
||||
|
||||
} // L: 19
|
||||
}
|
||||
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lmf;)V"
|
||||
descriptor = "(Lml;)V"
|
||||
)
|
||||
@Export("addFirst")
|
||||
public void addFirst(Node var1) {
|
||||
if (var1.next != null) { // L: 22
|
||||
if (var1.next != null) {
|
||||
var1.remove();
|
||||
}
|
||||
|
||||
var1.next = this.sentinel.next; // L: 23
|
||||
var1.previous = this.sentinel; // L: 24
|
||||
var1.next.previous = var1; // L: 25
|
||||
var1.previous.next = var1; // L: 26
|
||||
} // L: 27
|
||||
var1.next = this.sentinel.next;
|
||||
var1.previous = this.sentinel;
|
||||
var1.next.previous = var1;
|
||||
var1.previous.next = var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lmf;)V"
|
||||
descriptor = "(Lml;)V"
|
||||
)
|
||||
@Export("addLast")
|
||||
public void addLast(Node var1) {
|
||||
if (var1.next != null) { // L: 30
|
||||
if (var1.next != null) {
|
||||
var1.remove();
|
||||
}
|
||||
|
||||
var1.next = this.sentinel; // L: 31
|
||||
var1.previous = this.sentinel.previous; // L: 32
|
||||
var1.next.previous = var1; // L: 33
|
||||
var1.previous.next = var1; // L: 34
|
||||
} // L: 35
|
||||
var1.next = this.sentinel;
|
||||
var1.previous = this.sentinel.previous;
|
||||
var1.next.previous = var1;
|
||||
var1.previous.next = var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "()Lmf;"
|
||||
descriptor = "()Lml;"
|
||||
)
|
||||
@Export("last")
|
||||
public Node last() {
|
||||
return this.method5361((Node)null); // L: 46
|
||||
return this.method5321((Node)null);
|
||||
}
|
||||
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lmf;)Lmf;"
|
||||
descriptor = "(Lml;)Lml;"
|
||||
)
|
||||
Node method5361(Node var1) {
|
||||
Node method5321(Node var1) {
|
||||
Node var2;
|
||||
if (var1 == null) { // L: 51
|
||||
if (var1 == null) {
|
||||
var2 = this.sentinel.previous;
|
||||
} else {
|
||||
var2 = var1; // L: 52
|
||||
var2 = var1;
|
||||
}
|
||||
|
||||
if (var2 == this.sentinel) { // L: 53
|
||||
this.field3712 = null; // L: 54
|
||||
return null; // L: 55
|
||||
if (var2 == this.sentinel) {
|
||||
this.field3723 = null;
|
||||
return null;
|
||||
} else {
|
||||
this.field3712 = var2.previous; // L: 57
|
||||
return var2; // L: 58
|
||||
this.field3723 = var2.previous;
|
||||
return var2;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "()Lmf;"
|
||||
descriptor = "()Lml;"
|
||||
)
|
||||
@Export("previous")
|
||||
public Node previous() {
|
||||
Node var1 = this.field3712; // L: 62
|
||||
if (var1 == this.sentinel) { // L: 63
|
||||
this.field3712 = null; // L: 64
|
||||
return null; // L: 65
|
||||
Node var1 = this.field3723;
|
||||
if (var1 == this.sentinel) {
|
||||
this.field3723 = null;
|
||||
return null;
|
||||
} else {
|
||||
this.field3712 = var1.previous; // L: 67
|
||||
return var1; // L: 68
|
||||
this.field3723 = var1.previous;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("f")
|
||||
int method5329() {
|
||||
int var1 = 0;
|
||||
|
||||
for (Node var2 = this.sentinel.previous; var2 != this.sentinel; var2 = var2.previous) {
|
||||
++var1;
|
||||
}
|
||||
|
||||
return var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("o")
|
||||
public boolean method5383() {
|
||||
return this.sentinel.previous == this.sentinel;
|
||||
}
|
||||
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "()[Lml;"
|
||||
)
|
||||
Node[] method5325() {
|
||||
Node[] var1 = new Node[this.method5329()];
|
||||
int var2 = 0;
|
||||
|
||||
for (Node var3 = this.sentinel.previous; var3 != this.sentinel; var3 = var3.previous) {
|
||||
var1[var2++] = var3;
|
||||
}
|
||||
|
||||
return var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("r")
|
||||
int method5363() {
|
||||
int var1 = 0; // L: 72
|
||||
|
||||
for (Node var2 = this.sentinel.previous; var2 != this.sentinel; var2 = var2.previous) { // L: 73 74 76
|
||||
++var1; // L: 75
|
||||
}
|
||||
|
||||
return var1; // L: 78
|
||||
}
|
||||
|
||||
@ObfuscatedName("h")
|
||||
public boolean method5364() {
|
||||
return this.sentinel.previous == this.sentinel; // L: 82
|
||||
}
|
||||
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "()[Lmf;"
|
||||
descriptor = "(Lml;)Z"
|
||||
)
|
||||
Node[] method5370() {
|
||||
Node[] var1 = new Node[this.method5363()]; // L: 86
|
||||
int var2 = 0; // L: 87
|
||||
|
||||
for (Node var3 = this.sentinel.previous; var3 != this.sentinel; var3 = var3.previous) { // L: 88 89 91
|
||||
var1[var2++] = var3; // L: 90
|
||||
}
|
||||
|
||||
return var1; // L: 93
|
||||
}
|
||||
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lmf;)Z"
|
||||
)
|
||||
boolean method5384(Node var1) {
|
||||
this.addFirst(var1); // L: 127
|
||||
return true; // L: 128
|
||||
boolean method5328(Node var1) {
|
||||
this.addFirst(var1);
|
||||
return true;
|
||||
}
|
||||
|
||||
public Iterator iterator() {
|
||||
return new IterableNodeDequeDescendingIterator(this); // L: 97
|
||||
}
|
||||
|
||||
public boolean contains(Object var1) {
|
||||
throw new RuntimeException(); // L: 109
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return this.method5364(); // L: 105
|
||||
}
|
||||
|
||||
public Object[] toArray(Object[] var1) {
|
||||
int var2 = 0; // L: 117
|
||||
|
||||
for (Node var3 = this.sentinel.previous; var3 != this.sentinel; var3 = var3.previous) { // L: 118 119 121
|
||||
var1[var2++] = var3; // L: 120
|
||||
}
|
||||
|
||||
return var1; // L: 123
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
this.rsClear(); // L: 152
|
||||
} // L: 153
|
||||
|
||||
public boolean remove(Object var1) {
|
||||
throw new RuntimeException(); // L: 132
|
||||
}
|
||||
|
||||
public boolean containsAll(Collection var1) {
|
||||
throw new RuntimeException(); // L: 136
|
||||
}
|
||||
|
||||
public boolean addAll(Collection var1) {
|
||||
throw new RuntimeException(); // L: 140
|
||||
}
|
||||
|
||||
public boolean equals(Object var1) {
|
||||
return super.equals(var1); // L: 160
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return super.hashCode(); // L: 164
|
||||
}
|
||||
|
||||
public boolean removeAll(Collection var1) {
|
||||
throw new RuntimeException(); // L: 144
|
||||
}
|
||||
|
||||
public Object[] toArray() {
|
||||
return this.method5370(); // L: 113
|
||||
return new IterableNodeDequeDescendingIterator(this);
|
||||
}
|
||||
|
||||
public int size() {
|
||||
return this.method5363(); // L: 101
|
||||
return this.method5329();
|
||||
}
|
||||
|
||||
public boolean add(Object var1) {
|
||||
return this.method5384((Node)var1); // L: 156
|
||||
public boolean contains(Object var1) {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
|
||||
public Object[] toArray(Object[] var1) {
|
||||
int var2 = 0;
|
||||
|
||||
for (Node var3 = this.sentinel.previous; var3 != this.sentinel; var3 = var3.previous) {
|
||||
var1[var2++] = var3;
|
||||
}
|
||||
|
||||
return var1;
|
||||
}
|
||||
|
||||
public boolean remove(Object var1) {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
|
||||
public boolean containsAll(Collection var1) {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
|
||||
public boolean addAll(Collection var1) {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
this.rsClear();
|
||||
}
|
||||
|
||||
public boolean retainAll(Collection var1) {
|
||||
throw new RuntimeException(); // L: 148
|
||||
throw new RuntimeException();
|
||||
}
|
||||
|
||||
@ObfuscatedName("y")
|
||||
public boolean add(Object var1) {
|
||||
return this.method5328((Node)var1);
|
||||
}
|
||||
|
||||
public boolean equals(Object var1) {
|
||||
return super.equals(var1);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return super.hashCode();
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return this.method5383();
|
||||
}
|
||||
|
||||
public Object[] toArray() {
|
||||
return this.method5325();
|
||||
}
|
||||
|
||||
public boolean removeAll(Collection var1) {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lmf;Lmf;)V"
|
||||
descriptor = "(Lml;Lml;)V"
|
||||
)
|
||||
@Export("IterableNodeDeque_addBefore")
|
||||
public static void IterableNodeDeque_addBefore(Node var0, Node var1) {
|
||||
if (var0.next != null) { // L: 38
|
||||
if (var0.next != null) {
|
||||
var0.remove();
|
||||
}
|
||||
|
||||
var0.next = var1; // L: 39
|
||||
var0.previous = var1.previous; // L: 40
|
||||
var0.next.previous = var0; // L: 41
|
||||
var0.previous.next = var0; // L: 42
|
||||
} // L: 43
|
||||
var0.next = var1;
|
||||
var0.previous = var1.previous;
|
||||
var0.next.previous = var0;
|
||||
var0.previous.next = var0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user