I have a linked list and I need to make method that returns an iterator at a given point in the list. I currently have an iterator that starts at the head:
p
Simply use the listIterator(index); method from List, in which index is an int resembling the starting index. Edit: in your case it would be
listIterator(index);
List
index
int
List<...> list = ...; return list.listIterator(x);