lIf L is a List,
then L.listIterator() returns a ListIterator positioned at the start of the list.
lFor a ListIterator:
lObject next() returns the next element, if
any
lboolean hasNext() tells whether there is a
next element
lObject previous() returns the previous
element, if any
lboolean hasPrevious() tells whether there is a
previous element
lvoid set(Object) sets the value at the
current position
lvoid remove() removes the value at the
current position
lvoid add(Object) adds a value at the current
position