Remove Map.groupBy

This commit is contained in:
Ilya Ryzhenkov
2014-06-09 23:18:41 +04:00
parent 295ce5fdf8
commit 7273f223f4
2 changed files with 0 additions and 21 deletions
@@ -185,7 +185,6 @@ fun mapping(): List<GenericFunction> {
typeParam("K")
returns("Map<K, List<T>>")
body { "return groupByTo(HashMap<K, MutableList<T>>(), toKey)" }
include(Maps)
}
templates add f("groupByTo(map: MutableMap<K, MutableList<T>>, toKey: (T) -> K)") {
@@ -204,7 +203,6 @@ fun mapping(): List<GenericFunction> {
return map
"""
}
include(Maps)
}
return templates
}