Its equivalent to
for(Iterator<SomeListElement> i = objectWithList.getList().iterator(); i.hasNext(); ) { SomeListElement element = i.next(); //access element here }
2.1m questions
2.1m answers
60 comments
57.0k users