rev184
This commit is contained in:
@@ -1,183 +1,183 @@
|
||||
import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("jv")
|
||||
@Implements("NodeDeque")
|
||||
public class NodeDeque {
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lfn;"
|
||||
)
|
||||
@Export("sentinel")
|
||||
public Node sentinel;
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lfn;"
|
||||
)
|
||||
@Export("current")
|
||||
Node current;
|
||||
|
||||
public NodeDeque() {
|
||||
this.sentinel = new Node();
|
||||
this.sentinel.previous = this.sentinel;
|
||||
this.sentinel.next = this.sentinel;
|
||||
}
|
||||
|
||||
@ObfuscatedName("c")
|
||||
@Export("clear")
|
||||
public void clear() {
|
||||
while (true) {
|
||||
Node var1 = this.sentinel.previous;
|
||||
if (var1 == this.sentinel) {
|
||||
this.current = null;
|
||||
return;
|
||||
}
|
||||
|
||||
var1.remove();
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lfn;)V"
|
||||
)
|
||||
@Export("addFirst")
|
||||
public void addFirst(Node var1) {
|
||||
if (var1.next != null) {
|
||||
var1.remove();
|
||||
}
|
||||
|
||||
var1.next = this.sentinel.next;
|
||||
var1.previous = this.sentinel;
|
||||
var1.next.previous = var1;
|
||||
var1.previous.next = var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lfn;)V"
|
||||
)
|
||||
@Export("addLast")
|
||||
public void addLast(Node var1) {
|
||||
if (var1.next != null) {
|
||||
var1.remove();
|
||||
}
|
||||
|
||||
var1.next = this.sentinel;
|
||||
var1.previous = this.sentinel.previous;
|
||||
var1.next.previous = var1;
|
||||
var1.previous.next = var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfn;"
|
||||
)
|
||||
@Export("removeLast")
|
||||
public Node removeLast() {
|
||||
Node var1 = this.sentinel.previous;
|
||||
if (var1 == this.sentinel) {
|
||||
return null;
|
||||
} else {
|
||||
var1.remove();
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfn;"
|
||||
)
|
||||
@Export("removeFirst")
|
||||
public Node removeFirst() {
|
||||
Node var1 = this.sentinel.next;
|
||||
if (var1 == this.sentinel) {
|
||||
return null;
|
||||
} else {
|
||||
var1.remove();
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfn;"
|
||||
)
|
||||
@Export("last")
|
||||
public Node last() {
|
||||
Node var1 = this.sentinel.previous;
|
||||
if (var1 == this.sentinel) {
|
||||
this.current = null;
|
||||
return null;
|
||||
} else {
|
||||
this.current = var1.previous;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfn;"
|
||||
)
|
||||
@Export("first")
|
||||
public Node first() {
|
||||
Node var1 = this.sentinel.next;
|
||||
if (var1 == this.sentinel) {
|
||||
this.current = null;
|
||||
return null;
|
||||
} else {
|
||||
this.current = var1.next;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfn;"
|
||||
)
|
||||
@Export("previous")
|
||||
public Node previous() {
|
||||
Node var1 = this.current;
|
||||
if (var1 == this.sentinel) {
|
||||
this.current = null;
|
||||
return null;
|
||||
} else {
|
||||
this.current = var1.previous;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfn;"
|
||||
)
|
||||
@Export("next")
|
||||
public Node next() {
|
||||
Node var1 = this.current;
|
||||
if (var1 == this.sentinel) {
|
||||
this.current = null;
|
||||
return null;
|
||||
} else {
|
||||
this.current = var1.next;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lfn;Lfn;)V"
|
||||
)
|
||||
@Export("NodeDeque_addBefore")
|
||||
public static void NodeDeque_addBefore(Node var0, Node var1) {
|
||||
if (var0.next != null) {
|
||||
var0.remove();
|
||||
}
|
||||
|
||||
var0.next = var1.next;
|
||||
var0.previous = var1;
|
||||
var0.next.previous = var0;
|
||||
var0.previous.next = var0;
|
||||
}
|
||||
}
|
||||
import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("jv")
|
||||
@Implements("NodeDeque")
|
||||
public class NodeDeque {
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lfx;"
|
||||
)
|
||||
@Export("sentinel")
|
||||
public Node sentinel;
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lfx;"
|
||||
)
|
||||
@Export("current")
|
||||
Node current;
|
||||
|
||||
public NodeDeque() {
|
||||
this.sentinel = new Node();
|
||||
this.sentinel.previous = this.sentinel;
|
||||
this.sentinel.next = this.sentinel;
|
||||
}
|
||||
|
||||
@ObfuscatedName("z")
|
||||
@Export("clear")
|
||||
public void clear() {
|
||||
while (true) {
|
||||
Node var1 = this.sentinel.previous;
|
||||
if (var1 == this.sentinel) {
|
||||
this.current = null;
|
||||
return;
|
||||
}
|
||||
|
||||
var1.remove();
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lfx;)V"
|
||||
)
|
||||
@Export("addFirst")
|
||||
public void addFirst(Node var1) {
|
||||
if (var1.next != null) {
|
||||
var1.remove();
|
||||
}
|
||||
|
||||
var1.next = this.sentinel.next;
|
||||
var1.previous = this.sentinel;
|
||||
var1.next.previous = var1;
|
||||
var1.previous.next = var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lfx;)V"
|
||||
)
|
||||
@Export("addLast")
|
||||
public void addLast(Node var1) {
|
||||
if (var1.next != null) {
|
||||
var1.remove();
|
||||
}
|
||||
|
||||
var1.next = this.sentinel;
|
||||
var1.previous = this.sentinel.previous;
|
||||
var1.next.previous = var1;
|
||||
var1.previous.next = var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("r")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfx;"
|
||||
)
|
||||
@Export("removeLast")
|
||||
public Node removeLast() {
|
||||
Node var1 = this.sentinel.previous;
|
||||
if (var1 == this.sentinel) {
|
||||
return null;
|
||||
} else {
|
||||
var1.remove();
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfx;"
|
||||
)
|
||||
@Export("removeFirst")
|
||||
public Node removeFirst() {
|
||||
Node var1 = this.sentinel.next;
|
||||
if (var1 == this.sentinel) {
|
||||
return null;
|
||||
} else {
|
||||
var1.remove();
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfx;"
|
||||
)
|
||||
@Export("last")
|
||||
public Node last() {
|
||||
Node var1 = this.sentinel.previous;
|
||||
if (var1 == this.sentinel) {
|
||||
this.current = null;
|
||||
return null;
|
||||
} else {
|
||||
this.current = var1.previous;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfx;"
|
||||
)
|
||||
@Export("first")
|
||||
public Node first() {
|
||||
Node var1 = this.sentinel.next;
|
||||
if (var1 == this.sentinel) {
|
||||
this.current = null;
|
||||
return null;
|
||||
} else {
|
||||
this.current = var1.next;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfx;"
|
||||
)
|
||||
@Export("previous")
|
||||
public Node previous() {
|
||||
Node var1 = this.current;
|
||||
if (var1 == this.sentinel) {
|
||||
this.current = null;
|
||||
return null;
|
||||
} else {
|
||||
this.current = var1.previous;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfx;"
|
||||
)
|
||||
@Export("next")
|
||||
public Node next() {
|
||||
Node var1 = this.current;
|
||||
if (var1 == this.sentinel) {
|
||||
this.current = null;
|
||||
return null;
|
||||
} else {
|
||||
this.current = var1.next;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lfx;Lfx;)V"
|
||||
)
|
||||
@Export("NodeDeque_addBefore")
|
||||
public static void NodeDeque_addBefore(Node var0, Node var1) {
|
||||
if (var0.next != null) {
|
||||
var0.remove();
|
||||
}
|
||||
|
||||
var0.next = var1.next;
|
||||
var0.previous = var1;
|
||||
var0.next.previous = var0;
|
||||
var0.previous.next = var0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user