remove unused method

This commit is contained in:
EAlexa 2020-04-07 16:36:03 +02:00
parent 0c334a9487
commit fecfe9d705

View File

@ -4,6 +4,7 @@ import java.util.Objects;
public class CursorLinkedList<T> { public class CursorLinkedList<T> {
private static class Node<T> { private static class Node<T> {
T element; T element;
@ -13,12 +14,7 @@ public class CursorLinkedList<T> {
this.element = element; this.element = element;
this.next = next; this.next = next;
} }
boolean isEmpty() {
return element == null;
} }
}
private final int os; private final int os;
private int head; private int head;
@ -27,6 +23,7 @@ public class CursorLinkedList<T> {
private final static int CURSOR_SPACE_SIZE = 100; private final static int CURSOR_SPACE_SIZE = 100;
{ {
// init at loading time // init at loading time
cursorSpace = new Node[CURSOR_SPACE_SIZE]; cursorSpace = new Node[CURSOR_SPACE_SIZE];