我的筆記...
It<Foo> fooIt = it(fooList); for (Foo foo : fooIt) { //for each foo in fooList... foo.doSomething(); //if you need the current index: System.out.println(fooIt.getIndex()); }
沒有留言:
張貼留言