Iterate Collection


/ Published in: Java
Save to your folder(s)



Copy this code and paste it in your HTML
  1. ArrayList a_list = new ArrayList ();
  2.  
  3. for (Iterator it = a_list.iterator (); it.hasNext (); ) {
  4. Object o = it.next ();
  5. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.