Permalink
Browse files

Hold back eachSumOf for a while: fixups.

Remove unneeded import.
  • Loading branch information...
1 parent edb4fd1 commit 6273ab5d43f632f2c88510429c8aaf8091efa86c @ilya-g ilya-g committed Jan 11, 2017
@@ -158,4 +158,4 @@ header operator fun <K, V> MutableMap<K, V>.set(key: K, value: V): Unit
// from Grouping.kt
public header fun <T, K> Grouping<T, K>.eachCount(): Map<K, Int>
-public header inline fun <T, K> Grouping<T, K>.eachSumOf(valueSelector: (T) -> Int): Map<K, Int>
+// public header inline fun <T, K> Grouping<T, K>.eachSumOf(valueSelector: (T) -> Int): Map<K, Int>
@@ -1,7 +1,6 @@
package test.collections
import org.junit.Test
-import java.util.*
import kotlin.test.*
class GroupingTest {
@@ -1619,8 +1619,6 @@ public final class kotlin/collections/GroupingKt {
public static final fun aggregateTo (Lkotlin/collections/Grouping;Ljava/util/Map;Lkotlin/jvm/functions/Function4;)Ljava/util/Map;
public static final fun eachCount (Lkotlin/collections/Grouping;)Ljava/util/Map;
public static final fun eachCountTo (Lkotlin/collections/Grouping;Ljava/util/Map;)Ljava/util/Map;
- public static final fun eachSumOf (Lkotlin/collections/Grouping;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
- public static final fun eachSumOfTo (Lkotlin/collections/Grouping;Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;
public static final fun fold (Lkotlin/collections/Grouping;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/util/Map;
public static final fun fold (Lkotlin/collections/Grouping;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function3;)Ljava/util/Map;
public static final fun foldTo (Lkotlin/collections/Grouping;Ljava/util/Map;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/util/Map;

0 comments on commit 6273ab5

Please sign in to comment.