Files
runelite/runescape-client/src/main/java/Node.java
2021-11-03 22:50:34 +11:00

42 lines
899 B
Java

import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("ns")
@Implements("Node")
public class Node {
@ObfuscatedName("ff")
@Export("key")
public long key;
@ObfuscatedName("fu")
@ObfuscatedSignature(
descriptor = "Lns;"
)
@Export("previous")
public Node previous;
@ObfuscatedName("fm")
@ObfuscatedSignature(
descriptor = "Lns;"
)
@Export("next")
public Node next;
@ObfuscatedName("ft")
@Export("remove")
public void remove() {
if (this.next != null) { // L: 9
this.next.previous = this.previous; // L: 10
this.previous.next = this.next; // L: 11
this.previous = null; // L: 12
this.next = null; // L: 13
}
} // L: 14
@ObfuscatedName("fl")
@Export("hasNext")
public boolean hasNext() {
return this.next != null; // L: 17
}
}