PPT Slide
public interface ListIterator
An iterator for lists that allows the programmer to traverse the list in either direction and modify the list during iteration.
Method Summary for Interface ListIterator
void add(Object o) Inserts the specified element into the list (optional operation).
boolean hasNext() Returns true if this list iterator has more elements when traversing the list in the forward direction.
boolean hasPrevious() Returns true if this list iterator has more elements when traversing the list in the reverse direction.
Object next() Returns the next element in the list.