Skip to content

Commit fecfe9d

Browse files
committed
remove unused method
1 parent 0c334a9 commit fecfe9d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

DataStructures/Lists/CursorLinkedList.java

+2-5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
public class CursorLinkedList<T> {
66

7+
78
private static class Node<T> {
89

910
T element;
@@ -13,20 +14,16 @@ private static class Node<T> {
1314
this.element = element;
1415
this.next = next;
1516
}
16-
17-
boolean isEmpty() {
18-
return element == null;
19-
}
2017
}
2118

22-
2319
private final int os;
2420
private int head;
2521
private final Node<T>[] cursorSpace;
2622
private int count;
2723
private final static int CURSOR_SPACE_SIZE = 100;
2824

2925

26+
3027
{
3128
// init at loading time
3229
cursorSpace = new Node[CURSOR_SPACE_SIZE];

0 commit comments

Comments
 (0)