Rename Grouping.elementIterator to sourceIterator

This commit is contained in:
Ilya Gorbunov
2016-12-29 19:27:29 +03:00
parent 6d3a71c691
commit 04a0f0a036
12 changed files with 14 additions and 14 deletions
@@ -408,7 +408,7 @@ fun mapping(): List<GenericFunction> {
body {
"""
return object : Grouping<T, K> {
override fun elementIterator(): Iterator<T> = this@groupingBy.iterator()
override fun sourceIterator(): Iterator<T> = this@groupingBy.iterator()
override fun keyOf(element: T): K = keySelector(element)
}
"""