mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-08 18:32:56 +08:00
remove unused method
This commit is contained in:
@ -4,6 +4,7 @@ import java.util.Objects;
|
||||
|
||||
public class CursorLinkedList<T> {
|
||||
|
||||
|
||||
private static class Node<T> {
|
||||
|
||||
T element;
|
||||
@ -13,12 +14,7 @@ public class CursorLinkedList<T> {
|
||||
this.element = element;
|
||||
this.next = next;
|
||||
}
|
||||
|
||||
boolean isEmpty() {
|
||||
return element == null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private final int os;
|
||||
private int head;
|
||||
@ -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];
|
||||
|
Reference in New Issue
Block a user