java list三种遍历方法性能比较
http://www.cnblogs.com/riskyer/p/3320357.html
JAVA LIST 遍历
http://blog.csdn.net/love_leve/article/details/3367888
第一种:
for(Iterator<A> it = list.iterator(); it.hasNext(); ) {
it.next();
....
}
第二种:
for(A a : list) {
.....
}
第三种:
for(int i=0; i<list.size(); i++) {
A a = list.get(i);
...
}