Skip to content

Instantly share code, notes, and snippets.

@indzi
Created January 16, 2016 10:52
Show Gist options
  • Save indzi/0f083d601c1b0c38206e to your computer and use it in GitHub Desktop.
Save indzi/0f083d601c1b0c38206e to your computer and use it in GitHub Desktop.
iterating on collection
//creating iterator n for collection numbers
for(Iterator n = numbers.iterator() ;n.hasNext(); ) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment