Sha256: c24f12b3ffaf8a3d1ffa77305580dff310080e1b6d1f1b311f6aa223e4cafd6b
Contents?: true
Size: 261 Bytes
Versions: 126
Compression:
Stored size: 261 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
126 entries across 126 versions & 1 rubygems