rev187
This commit is contained in:
@@ -5,20 +5,20 @@ import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("jm")
|
||||
@ObfuscatedName("jl")
|
||||
@Implements("IterableNodeDeque")
|
||||
public class IterableNodeDeque implements Iterable, Collection {
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lfb;"
|
||||
signature = "Lgk;"
|
||||
)
|
||||
@Export("sentinel")
|
||||
Node sentinel;
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lfb;"
|
||||
signature = "Lgk;"
|
||||
)
|
||||
Node field3537;
|
||||
Node field3499;
|
||||
|
||||
public IterableNodeDeque() {
|
||||
this.sentinel = new Node();
|
||||
@@ -26,7 +26,7 @@ public class IterableNodeDeque implements Iterable, Collection {
|
||||
this.sentinel.next = this.sentinel;
|
||||
}
|
||||
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("f")
|
||||
@Export("rsClear")
|
||||
public void rsClear() {
|
||||
while (this.sentinel.previous != this.sentinel) {
|
||||
@@ -35,9 +35,9 @@ public class IterableNodeDeque implements Iterable, Collection {
|
||||
|
||||
}
|
||||
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lfb;)V"
|
||||
signature = "(Lgk;)V"
|
||||
)
|
||||
@Export("addFirst")
|
||||
public void addFirst(Node var1) {
|
||||
@@ -51,9 +51,9 @@ public class IterableNodeDeque implements Iterable, Collection {
|
||||
var1.previous.next = var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lfb;)V"
|
||||
signature = "(Lgk;)V"
|
||||
)
|
||||
@Export("addLast")
|
||||
public void addLast(Node var1) {
|
||||
@@ -67,20 +67,20 @@ public class IterableNodeDeque implements Iterable, Collection {
|
||||
var1.previous.next = var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfb;"
|
||||
signature = "()Lgk;"
|
||||
)
|
||||
@Export("last")
|
||||
public Node last() {
|
||||
return this.method4902((Node)null);
|
||||
return this.method4847((Node)null);
|
||||
}
|
||||
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lfb;)Lfb;"
|
||||
signature = "(Lgk;)Lgk;"
|
||||
)
|
||||
Node method4902(Node var1) {
|
||||
Node method4847(Node var1) {
|
||||
Node var2;
|
||||
if (var1 == null) {
|
||||
var2 = this.sentinel.previous;
|
||||
@@ -89,32 +89,32 @@ public class IterableNodeDeque implements Iterable, Collection {
|
||||
}
|
||||
|
||||
if (var2 == this.sentinel) {
|
||||
this.field3537 = null;
|
||||
this.field3499 = null;
|
||||
return null;
|
||||
} else {
|
||||
this.field3537 = var2.previous;
|
||||
this.field3499 = var2.previous;
|
||||
return var2;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfb;"
|
||||
signature = "()Lgk;"
|
||||
)
|
||||
@Export("previous")
|
||||
public Node previous() {
|
||||
Node var1 = this.field3537;
|
||||
Node var1 = this.field3499;
|
||||
if (var1 == this.sentinel) {
|
||||
this.field3537 = null;
|
||||
this.field3499 = null;
|
||||
return null;
|
||||
} else {
|
||||
this.field3537 = var1.previous;
|
||||
this.field3499 = var1.previous;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("y")
|
||||
int method4904() {
|
||||
@ObfuscatedName("x")
|
||||
int method4842() {
|
||||
int var1 = 0;
|
||||
|
||||
for (Node var2 = this.sentinel.previous; var2 != this.sentinel; var2 = var2.previous) {
|
||||
@@ -124,17 +124,17 @@ public class IterableNodeDeque implements Iterable, Collection {
|
||||
return var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("w")
|
||||
public boolean method4911() {
|
||||
@ObfuscatedName("a")
|
||||
public boolean method4843() {
|
||||
return this.sentinel.previous == this.sentinel;
|
||||
}
|
||||
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()[Lfb;"
|
||||
signature = "()[Lgk;"
|
||||
)
|
||||
Node[] method4906() {
|
||||
Node[] var1 = new Node[this.method4904()];
|
||||
Node[] method4844() {
|
||||
Node[] var1 = new Node[this.method4842()];
|
||||
int var2 = 0;
|
||||
|
||||
for (Node var3 = this.sentinel.previous; var3 != this.sentinel; var3 = var3.previous) {
|
||||
@@ -144,29 +144,25 @@ public class IterableNodeDeque implements Iterable, Collection {
|
||||
return var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lfb;)Z"
|
||||
signature = "(Lgk;)Z"
|
||||
)
|
||||
boolean method4909(Node var1) {
|
||||
boolean method4848(Node var1) {
|
||||
this.addFirst(var1);
|
||||
return true;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
this.rsClear();
|
||||
public Object[] toArray() {
|
||||
return this.method4844();
|
||||
}
|
||||
|
||||
public Iterator iterator() {
|
||||
return new IterableNodeDequeDescendingIterator(this);
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return this.method4911();
|
||||
}
|
||||
|
||||
public boolean contains(Object var1) {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
|
||||
public Object[] toArray() {
|
||||
return this.method4906();
|
||||
return this.method4843();
|
||||
}
|
||||
|
||||
public Object[] toArray(Object[] var1) {
|
||||
@@ -183,12 +179,12 @@ public class IterableNodeDeque implements Iterable, Collection {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
|
||||
public boolean addAll(Collection var1) {
|
||||
public boolean containsAll(Collection var1) {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
|
||||
public boolean add(Object var1) {
|
||||
return this.method4909((Node)var1);
|
||||
public void clear() {
|
||||
this.rsClear();
|
||||
}
|
||||
|
||||
public boolean equals(Object var1) {
|
||||
@@ -199,29 +195,33 @@ public class IterableNodeDeque implements Iterable, Collection {
|
||||
return super.hashCode();
|
||||
}
|
||||
|
||||
public boolean retainAll(Collection var1) {
|
||||
throw new RuntimeException();
|
||||
public int size() {
|
||||
return this.method4842();
|
||||
}
|
||||
|
||||
public boolean add(Object var1) {
|
||||
return this.method4848((Node)var1);
|
||||
}
|
||||
|
||||
public boolean removeAll(Collection var1) {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
|
||||
public int size() {
|
||||
return this.method4904();
|
||||
}
|
||||
|
||||
public boolean containsAll(Collection var1) {
|
||||
public boolean addAll(Collection var1) {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
|
||||
public Iterator iterator() {
|
||||
return new IterableNodeDequeDescendingIterator(this);
|
||||
public boolean retainAll(Collection var1) {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
|
||||
@ObfuscatedName("g")
|
||||
public boolean contains(Object var1) {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lfb;Lfb;)V"
|
||||
signature = "(Lgk;Lgk;)V"
|
||||
)
|
||||
@Export("IterableNodeDeque_addBefore")
|
||||
public static void IterableNodeDeque_addBefore(Node var0, Node var1) {
|
||||
|
||||
Reference in New Issue
Block a user