- getFirst
Return the first node in the list
- size
- <init>
Construct an empty LinkedList
- add
Add a LinkedListNode to the list. If the LinkedList is empty then the first and
last nodes are set t
- clear
Iterates the list removing all the nodes until there are no more nodes to
remove.
- isEmpty
- remove
Removes a LinkedListNode from the list. This works by attach the previous
reference to the child ref
- removeFirst
Remove the first node from the list. The next node then becomes the first node.
If this is the last
- removeLast
Remove the last node from the list. The previous node then becomes the last
node. If this is the las
- get
- getLast
Return the last node in the list
- iterator