while循环与Iterator的效率对比
对于while循环与容器的效率的,本人一直质疑。。。到底哪个效率高一些呢?所以就测试了下public class RunTest { private List ls = null; public RunTest(boolean b){ if(b){ ls = new ArrayList();//顺序存储 }else{ ls = new LinkedList();/