I need some help with Scala. I really have troubles in understanding how to deal with collections. What I have to do is traversing a List like this
List( MyObject(id, name, status), ..., MyObject(id, name, status) )
and getting another List like this one
List( Map("key", id1), Map("key", id2), ..., Map("key", idN) )
Notice that the 'key' element of all the maps have to be the same
Thanks