whatsthecodeforthat.com

What's the code for Iterating Key-Value Pairs in java?

for (Map.Entry(KeyType, ValueType) entry : m.entrySet()) {
	System.out.println(entry.getKey());
	System.out.println(entry.getValue());
}