java - iteration problem -


i have iterate through list error.getge.getlist returns me arraylist of type ge bean,how iterate on list ?

for (ge bean: error.getge().getlist()){    // ge } 

this construct called for-each-loop, , has been available since java5.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -