Skip to content

Instantly share code, notes, and snippets.

@nulpatrol
Last active August 29, 2015 14:25
Show Gist options
  • Save nulpatrol/76cf167960493092052b to your computer and use it in GitHub Desktop.
Save nulpatrol/76cf167960493092052b to your computer and use it in GitHub Desktop.
Iterating Map<Object, Set<Object>>
for (Map.Entry<String, Set<String>> rule : rules.entrySet()) {
String key = rule.getKey();
Set<String> value = rule.getValue();
for (String temp : value) {
System.out.println("Scope: " + key + ", rule: " + temp);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment