remove unused method
This commit is contained in:
parent
0c334a9487
commit
fecfe9d705
@ -4,6 +4,7 @@ import java.util.Objects;
|
||||
|
||||
public class CursorLinkedList<T> {
|
||||
|
||||
|
||||
private static class Node<T> {
|
||||
|
||||
T element;
|
||||
@ -13,13 +14,8 @@ public class CursorLinkedList<T> {
|
||||
this.element = element;
|
||||
this.next = next;
|
||||
}
|
||||
|
||||
boolean isEmpty() {
|
||||
return element == null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private final int os;
|
||||
private int head;
|
||||
private final Node<T>[] cursorSpace;
|
||||
@ -27,6 +23,7 @@ public class CursorLinkedList<T> {
|
||||
private final static int CURSOR_SPACE_SIZE = 100;
|
||||
|
||||
|
||||
|
||||
{
|
||||
// init at loading time
|
||||
cursorSpace = new Node[CURSOR_SPACE_SIZE];
|
||||
|
Loading…
Reference in New Issue
Block a user