rs-client/apis
This commit is contained in:
@@ -3,73 +3,73 @@ import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("jy")
|
||||
@ObfuscatedName("je")
|
||||
@Implements("LinkDeque")
|
||||
public class LinkDeque {
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lgh;"
|
||||
)
|
||||
@Export("sentinel")
|
||||
Link sentinel;
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lgh;"
|
||||
)
|
||||
@Export("current")
|
||||
Link current;
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lfq;"
|
||||
)
|
||||
@Export("sentinel")
|
||||
Link sentinel;
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lfq;"
|
||||
)
|
||||
@Export("current")
|
||||
Link current;
|
||||
|
||||
public LinkDeque() {
|
||||
this.sentinel = new Link();
|
||||
this.sentinel.previous = this.sentinel;
|
||||
this.sentinel.next = this.sentinel;
|
||||
}
|
||||
public LinkDeque() {
|
||||
this.sentinel = new Link();
|
||||
this.sentinel.previous = this.sentinel;
|
||||
this.sentinel.next = this.sentinel;
|
||||
}
|
||||
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lgh;)V"
|
||||
)
|
||||
@Export("addFirst")
|
||||
public void addFirst(Link var1) {
|
||||
if (var1.next != null) {
|
||||
var1.remove();
|
||||
}
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lfq;)V"
|
||||
)
|
||||
@Export("addFirst")
|
||||
public void addFirst(Link var1) {
|
||||
if (var1.next != null) {
|
||||
var1.remove();
|
||||
}
|
||||
|
||||
var1.next = this.sentinel.next;
|
||||
var1.previous = this.sentinel;
|
||||
var1.next.previous = var1;
|
||||
var1.previous.next = var1;
|
||||
}
|
||||
var1.next = this.sentinel.next;
|
||||
var1.previous = this.sentinel;
|
||||
var1.next.previous = var1;
|
||||
var1.previous.next = var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lgh;"
|
||||
)
|
||||
@Export("last")
|
||||
public Link last() {
|
||||
Link var1 = this.sentinel.previous;
|
||||
if (var1 == this.sentinel) {
|
||||
this.current = null;
|
||||
return null;
|
||||
} else {
|
||||
this.current = var1.previous;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfq;"
|
||||
)
|
||||
@Export("last")
|
||||
public Link last() {
|
||||
Link var1 = this.sentinel.previous;
|
||||
if (var1 == this.sentinel) {
|
||||
this.current = null;
|
||||
return null;
|
||||
} else {
|
||||
this.current = var1.previous;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lgh;"
|
||||
)
|
||||
@Export("previous")
|
||||
public Link previous() {
|
||||
Link var1 = this.current;
|
||||
if (var1 == this.sentinel) {
|
||||
this.current = null;
|
||||
return null;
|
||||
} else {
|
||||
this.current = var1.previous;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedSignature(
|
||||
signature = "()Lfq;"
|
||||
)
|
||||
@Export("previous")
|
||||
public Link previous() {
|
||||
Link var1 = this.current;
|
||||
if (var1 == this.sentinel) {
|
||||
this.current = null;
|
||||
return null;
|
||||
} else {
|
||||
this.current = var1.previous;
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user