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