rsc: please read the commit message for my neverending descent into madness
how do i stop making castles every time i go to the beach i make a castle every time i open blender i model castles every time i play chess i castle i just cant stop making castles dude
This commit is contained in:
@@ -6,69 +6,70 @@ import net.runelite.mapping.ObfuscatedSignature;
|
||||
@ObfuscatedName("jw")
|
||||
@Implements("LinkDeque")
|
||||
public class LinkDeque {
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lgm;"
|
||||
)
|
||||
@Export("sentinel")
|
||||
Link sentinel = new Link();
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lgm;"
|
||||
)
|
||||
@Export("current")
|
||||
Link current;
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lgm;"
|
||||
)
|
||||
@Export("sentinel")
|
||||
Link sentinel;
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lgm;"
|
||||
)
|
||||
@Export("current")
|
||||
Link current;
|
||||
|
||||
public LinkDeque() {
|
||||
this.sentinel.previous = this.sentinel;
|
||||
this.sentinel.next = this.sentinel;
|
||||
}
|
||||
public LinkDeque() {
|
||||
this.sentinel = new Link(); // L: 6
|
||||
this.sentinel.previous = this.sentinel; // L: 10
|
||||
this.sentinel.next = this.sentinel; // L: 11
|
||||
} // L: 12
|
||||
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lgm;)V"
|
||||
)
|
||||
@Export("addFirst")
|
||||
public void addFirst(Link var1) {
|
||||
if (var1.next != null) {
|
||||
var1.remove();
|
||||
}
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lgm;)V"
|
||||
)
|
||||
@Export("addFirst")
|
||||
public void addFirst(Link var1) {
|
||||
if (var1.next != null) { // L: 15
|
||||
var1.remove();
|
||||
}
|
||||
|
||||
var1.next = this.sentinel.next;
|
||||
var1.previous = this.sentinel;
|
||||
var1.next.previous = var1;
|
||||
var1.previous.next = var1;
|
||||
}
|
||||
var1.next = this.sentinel.next; // L: 16
|
||||
var1.previous = this.sentinel; // L: 17
|
||||
var1.next.previous = var1; // L: 18
|
||||
var1.previous.next = var1; // L: 19
|
||||
} // L: 20
|
||||
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "()Lgm;"
|
||||
)
|
||||
@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("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "()Lgm;"
|
||||
)
|
||||
@Export("last")
|
||||
public Link last() {
|
||||
Link var1 = this.sentinel.previous; // L: 23
|
||||
if (var1 == this.sentinel) { // L: 24
|
||||
this.current = null; // L: 25
|
||||
return null; // L: 26
|
||||
} else {
|
||||
this.current = var1.previous; // L: 28
|
||||
return var1; // L: 29
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "()Lgm;"
|
||||
)
|
||||
@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("d")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "()Lgm;"
|
||||
)
|
||||
@Export("previous")
|
||||
public Link previous() {
|
||||
Link var1 = this.current; // L: 33
|
||||
if (var1 == this.sentinel) { // L: 34
|
||||
this.current = null; // L: 35
|
||||
return null; // L: 36
|
||||
} else {
|
||||
this.current = var1.previous; // L: 38
|
||||
return var1; // L: 39
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user