implement ArrayList.listIterator()

This commit is contained in:
Joel Dice 2009-08-04 11:34:46 -06:00
parent d5f4811b43
commit 93597a4d1d

View File

@ -176,6 +176,10 @@ public class ArrayList<T> implements List<T> {
return new Collections.ArrayListIterator(this, index);
}
public ListIterator<T> listIterator() {
return listIterator(0);
}
public String toString() {
return Collections.toString(this);
}