previous |
start |
next
LinkListIterator's remove Method
- If the element to be removed is the first element, call
removeFirst
- Otherwise, the link proceeding the element to be removed needs
to have its next reference updated to skip the removed
element
- If the previous reference is null:
- this call does not immediately follow a call to
next
- throw an IllegalArgumentException
- Set previous reference to null
previous |
start |
next