Skip to content

Instantly share code, notes, and snippets.

@shaik2many
Last active October 8, 2015 17:17
Show Gist options
  • Save shaik2many/3363348 to your computer and use it in GitHub Desktop.
Save shaik2many/3363348 to your computer and use it in GitHub Desktop.
Java - Map loop
idMap<Long, Object>
for(Long excelid : idMap.keySet()){}
for(Map.Entry<String, MenuItem> entry : map.entrySet()){
entry.getKey();
entry.getValue();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment