Skip to content

Instantly share code, notes, and snippets.

@r-winkler
Last active August 10, 2016 17:41
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 r-winkler/67a505b68b8f3a2957a172f1375312fb to your computer and use it in GitHub Desktop.
Save r-winkler/67a505b68b8f3a2957a172f1375312fb to your computer and use it in GitHub Desktop.
List<Item> result = new ArrayList<>();
for (Map.Entry<String,Integer> entry : accumulator.entrySet()){
result.add(new Item(entry.getKey(), entry.getValue()));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment