val map = seq.map(a => a.key -> a).toMap
Created
December 8, 2016 15:32
-
-
Save olih/69ecaed8db6fc1f616f25d39af3acbe8 to your computer and use it in GitHub Desktop.
Scala cheatsheet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment