慕莱坞森
/*** @author eatonfang* @version 1.0**/public class Test {/*** @param args*/public static void main(String[] args) {List<String> test = new ArrayList<String>();test.add("a");test.add("b");test.add("c");Iterator<String> iterator = test.iterator();while (iterator.hasNext()) {String temp = iterator.next();System.out.println(temp);}// result//a//b//c}}