View difference between Paste ID: hME8SrV7 and mpwpviqq
SHOW: | | - or go back to the newest paste.
1
myMap = [1:"One", 2:"Two", 3:"Three"] 
2
3
for(entry in myMap){ 
4
  println entry.key + " " + entry.value 
5
}
6
//Output:
7
//> One
8
//> Two
9
//> Three