Sha256: d352b1e211f86a96681b3ff5d27c8aca3b5948a09e69c5b721414d3770f0a4af
Contents?: true
Size: 211 Bytes
Versions: 203
Compression:
Stored size: 211 Bytes
Contents
object ETL { fun transform(old: Map<Int, Collection<Char>>): Map<Char, Int> { return old.flatMap { mapEntry -> mapEntry.value.map { word -> Pair(word.toLowerCase(), mapEntry.key) } }.toMap() } }
Version data entries
203 entries across 203 versions & 1 rubygems