mirror of
https://github.com/2006-Scape/2006RebottedClient.git
synced 2026-07-02 16:49:02 +00:00
19 lines
291 B
Java
19 lines
291 B
Java
package org.rebotted.collection;
|
|
|
|
public class Linkable {
|
|
|
|
public long key;
|
|
public Linkable previous;
|
|
public Linkable next;
|
|
|
|
public final void unlink() {
|
|
if (next == null) {
|
|
} else {
|
|
next.previous = previous;
|
|
previous.next = next;
|
|
previous = null;
|
|
next = null;
|
|
}
|
|
}
|
|
}
|