List of usage examples for java.util AbstractList listIterator
public ListIterator<E> listIterator()
From source file:Main.java
public static void main(String args[]) { AbstractList<String> v = new Vector<String>(); v.add("A");// ww w . j ava2 s.c o m v.add("B"); Iterator i = v.listIterator(); while (i.hasNext()) { System.out.println(i.next()); } }