Report question

Question: Scala best way of turning a Collection into a Map-by-key?