groostav
06/30/2016, 6:57 PMmapTo
using maps?
val source = HashMap<String, Double>();
val sink = HashMap<String, Double>()
source.mapTo(sink.entries){ x -> x }
is a no compile because sink.entries
is MutableSet<MutableEntry<String, Double>>
and its expecting MutableCollection<Map.Entry<String, Double>>