Skip to content

Instantly share code, notes, and snippets.

@shirou
Created September 27, 2010 02:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shirou/598520 to your computer and use it in GitHub Desktop.
Save shirou/598520 to your computer and use it in GitHub Desktop.
for(Iterator<Hoge> iter = objList.iterator(); iter.hasNext();){
Hoge obj = iter.next();
if (obj.getId().equals(id)){
return obj;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment