Its equivalent to
for(Iterator<SomeListElement> i = objectWithList.getList().iterator(); i.hasNext(); ) { SomeListElement element = i.next(); //access element here }
1.4m articles
1.4m replys
5 comments
57.0k users