Rename Grouping.elementIterator to sourceIterator
This commit is contained in:
+1
-1
@@ -1610,8 +1610,8 @@ public final class kotlin/collections/CollectionsKt {
|
||||
}
|
||||
|
||||
public abstract interface class kotlin/collections/Grouping {
|
||||
public abstract fun elementIterator ()Ljava/util/Iterator;
|
||||
public abstract fun keyOf (Ljava/lang/Object;)Ljava/lang/Object;
|
||||
public abstract fun sourceIterator ()Ljava/util/Iterator;
|
||||
}
|
||||
|
||||
public final class kotlin/collections/GroupingKt {
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user