Its equivalent to
for(Iterator<SomeListElement> i = objectWithList.getList().iterator(); i.hasNext(); ) { SomeListElement element = i.next(); //access element here }
548k questions
547k answers
4 comments
86.3k users