PPT Slide
Method Summary for Interface ListIterator- Continued
int nextIndex() Returns the index of the element that would be returned by a subsequent call to next.
int previousIndex() Returns the index of the element that would be returned by a subsequent call to previous.
void remove() Removes from the list the last element that was returned by next or previous (optional operation).
void set(Object o) Replaces the last element returned by next or previous with the specified element (optional operation).