elect
05/08/2018, 4:09 PMarray<String>
which I'd like to transform into a Map<String, V>
, but the available associateBy
on it, expects the String
values to be the values of the map (<K, String>
), while I want them to be the keys. Which is the cleanest option for my case?