From 4dc51901ba44c32070586245d77354fa63a6d5fb Mon Sep 17 00:00:00 2001 From: Svetlana Isakova Date: Wed, 26 Dec 2012 17:05:08 +0400 Subject: [PATCH] changed groupBy method signature (in standard library) --- libraries/stdlib/src/generated/ArraysFromIterables.kt | 2 +- libraries/stdlib/src/generated/BooleanArraysFromIterables.kt | 2 +- libraries/stdlib/src/generated/ByteArraysFromIterables.kt | 2 +- libraries/stdlib/src/generated/CharArraysFromIterables.kt | 2 +- libraries/stdlib/src/generated/DoubleArraysFromIterables.kt | 2 +- libraries/stdlib/src/generated/FloatArraysFromIterables.kt | 2 +- libraries/stdlib/src/generated/IntArraysFromIterables.kt | 2 +- libraries/stdlib/src/generated/IteratorsFromIterables.kt | 2 +- libraries/stdlib/src/generated/LongArraysFromIterables.kt | 2 +- libraries/stdlib/src/generated/ShortArraysFromIterables.kt | 2 +- libraries/stdlib/src/kotlin/Iterables.kt | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libraries/stdlib/src/generated/ArraysFromIterables.kt b/libraries/stdlib/src/generated/ArraysFromIterables.kt index 53ea29019f8..2f951bd535b 100644 --- a/libraries/stdlib/src/generated/ArraysFromIterables.kt +++ b/libraries/stdlib/src/generated/ArraysFromIterables.kt @@ -197,7 +197,7 @@ public inline fun Array.reduceRight(operation: (T, T) -> T): T = reverse( * * @includeFunctionBody ../../test/CollectionTest.kt groupBy */ -public inline fun Array.groupBy(toKey: (T) -> K) : Map> = groupByTo(HashMap>(), toKey) +public inline fun Array.groupBy(toKey: (T) -> K) : Map> = groupByTo(HashMap>(), toKey) /** * Groups the elements in the collection into the given [[Map]] using the supplied *toKey* function to calculate the key to group the elements by diff --git a/libraries/stdlib/src/generated/BooleanArraysFromIterables.kt b/libraries/stdlib/src/generated/BooleanArraysFromIterables.kt index ad1b65ec85a..bda6c547ac3 100644 --- a/libraries/stdlib/src/generated/BooleanArraysFromIterables.kt +++ b/libraries/stdlib/src/generated/BooleanArraysFromIterables.kt @@ -197,7 +197,7 @@ public inline fun BooleanArray.reduceRight(operation: (Boolean, Boolean) -> Bool * * @includeFunctionBody ../../test/CollectionTest.kt groupBy */ -public inline fun BooleanArray.groupBy(toKey: (Boolean) -> K) : Map> = groupByTo(HashMap>(), toKey) +public inline fun BooleanArray.groupBy(toKey: (Boolean) -> K) : Map> = groupByTo(HashMap>(), toKey) /** * Groups the elements in the collection into the given [[Map]] using the supplied *toKey* function to calculate the key to group the elements by diff --git a/libraries/stdlib/src/generated/ByteArraysFromIterables.kt b/libraries/stdlib/src/generated/ByteArraysFromIterables.kt index f7b83a00c63..08e424dfb7e 100644 --- a/libraries/stdlib/src/generated/ByteArraysFromIterables.kt +++ b/libraries/stdlib/src/generated/ByteArraysFromIterables.kt @@ -197,7 +197,7 @@ public inline fun ByteArray.reduceRight(operation: (Byte, Byte) -> Byte): Byte = * * @includeFunctionBody ../../test/CollectionTest.kt groupBy */ -public inline fun ByteArray.groupBy(toKey: (Byte) -> K) : Map> = groupByTo(HashMap>(), toKey) +public inline fun ByteArray.groupBy(toKey: (Byte) -> K) : Map> = groupByTo(HashMap>(), toKey) /** * Groups the elements in the collection into the given [[Map]] using the supplied *toKey* function to calculate the key to group the elements by diff --git a/libraries/stdlib/src/generated/CharArraysFromIterables.kt b/libraries/stdlib/src/generated/CharArraysFromIterables.kt index 63f0896f23b..bb29bb0bec2 100644 --- a/libraries/stdlib/src/generated/CharArraysFromIterables.kt +++ b/libraries/stdlib/src/generated/CharArraysFromIterables.kt @@ -197,7 +197,7 @@ public inline fun CharArray.reduceRight(operation: (Char, Char) -> Char): Char = * * @includeFunctionBody ../../test/CollectionTest.kt groupBy */ -public inline fun CharArray.groupBy(toKey: (Char) -> K) : Map> = groupByTo(HashMap>(), toKey) +public inline fun CharArray.groupBy(toKey: (Char) -> K) : Map> = groupByTo(HashMap>(), toKey) /** * Groups the elements in the collection into the given [[Map]] using the supplied *toKey* function to calculate the key to group the elements by diff --git a/libraries/stdlib/src/generated/DoubleArraysFromIterables.kt b/libraries/stdlib/src/generated/DoubleArraysFromIterables.kt index d33ce8e1ce6..e10ae8c4079 100644 --- a/libraries/stdlib/src/generated/DoubleArraysFromIterables.kt +++ b/libraries/stdlib/src/generated/DoubleArraysFromIterables.kt @@ -197,7 +197,7 @@ public inline fun DoubleArray.reduceRight(operation: (Double, Double) -> Double) * * @includeFunctionBody ../../test/CollectionTest.kt groupBy */ -public inline fun DoubleArray.groupBy(toKey: (Double) -> K) : Map> = groupByTo(HashMap>(), toKey) +public inline fun DoubleArray.groupBy(toKey: (Double) -> K) : Map> = groupByTo(HashMap>(), toKey) /** * Groups the elements in the collection into the given [[Map]] using the supplied *toKey* function to calculate the key to group the elements by diff --git a/libraries/stdlib/src/generated/FloatArraysFromIterables.kt b/libraries/stdlib/src/generated/FloatArraysFromIterables.kt index b4b99c2b18e..187f9dedd34 100644 --- a/libraries/stdlib/src/generated/FloatArraysFromIterables.kt +++ b/libraries/stdlib/src/generated/FloatArraysFromIterables.kt @@ -197,7 +197,7 @@ public inline fun FloatArray.reduceRight(operation: (Float, Float) -> Float): Fl * * @includeFunctionBody ../../test/CollectionTest.kt groupBy */ -public inline fun FloatArray.groupBy(toKey: (Float) -> K) : Map> = groupByTo(HashMap>(), toKey) +public inline fun FloatArray.groupBy(toKey: (Float) -> K) : Map> = groupByTo(HashMap>(), toKey) /** * Groups the elements in the collection into the given [[Map]] using the supplied *toKey* function to calculate the key to group the elements by diff --git a/libraries/stdlib/src/generated/IntArraysFromIterables.kt b/libraries/stdlib/src/generated/IntArraysFromIterables.kt index 588b28c5c0a..ea262e166ac 100644 --- a/libraries/stdlib/src/generated/IntArraysFromIterables.kt +++ b/libraries/stdlib/src/generated/IntArraysFromIterables.kt @@ -197,7 +197,7 @@ public inline fun IntArray.reduceRight(operation: (Int, Int) -> Int): Int = reve * * @includeFunctionBody ../../test/CollectionTest.kt groupBy */ -public inline fun IntArray.groupBy(toKey: (Int) -> K) : Map> = groupByTo(HashMap>(), toKey) +public inline fun IntArray.groupBy(toKey: (Int) -> K) : Map> = groupByTo(HashMap>(), toKey) /** * Groups the elements in the collection into the given [[Map]] using the supplied *toKey* function to calculate the key to group the elements by diff --git a/libraries/stdlib/src/generated/IteratorsFromIterables.kt b/libraries/stdlib/src/generated/IteratorsFromIterables.kt index 2812df00553..4283ce4f8e8 100644 --- a/libraries/stdlib/src/generated/IteratorsFromIterables.kt +++ b/libraries/stdlib/src/generated/IteratorsFromIterables.kt @@ -196,7 +196,7 @@ public inline fun Iterator.reduceRight(operation: (T, T) -> T): T = rever * * @includeFunctionBody ../../test/CollectionTest.kt groupBy */ -public inline fun Iterator.groupBy(toKey: (T) -> K) : Map> = groupByTo(HashMap>(), toKey) +public inline fun Iterator.groupBy(toKey: (T) -> K) : Map> = groupByTo(HashMap>(), toKey) /** * Groups the elements in the collection into the given [[Map]] using the supplied *toKey* function to calculate the key to group the elements by diff --git a/libraries/stdlib/src/generated/LongArraysFromIterables.kt b/libraries/stdlib/src/generated/LongArraysFromIterables.kt index 4d0fa535e61..fac42e60106 100644 --- a/libraries/stdlib/src/generated/LongArraysFromIterables.kt +++ b/libraries/stdlib/src/generated/LongArraysFromIterables.kt @@ -197,7 +197,7 @@ public inline fun LongArray.reduceRight(operation: (Long, Long) -> Long): Long = * * @includeFunctionBody ../../test/CollectionTest.kt groupBy */ -public inline fun LongArray.groupBy(toKey: (Long) -> K) : Map> = groupByTo(HashMap>(), toKey) +public inline fun LongArray.groupBy(toKey: (Long) -> K) : Map> = groupByTo(HashMap>(), toKey) /** * Groups the elements in the collection into the given [[Map]] using the supplied *toKey* function to calculate the key to group the elements by diff --git a/libraries/stdlib/src/generated/ShortArraysFromIterables.kt b/libraries/stdlib/src/generated/ShortArraysFromIterables.kt index 71fe6af7fa9..110095d800d 100644 --- a/libraries/stdlib/src/generated/ShortArraysFromIterables.kt +++ b/libraries/stdlib/src/generated/ShortArraysFromIterables.kt @@ -197,7 +197,7 @@ public inline fun ShortArray.reduceRight(operation: (Short, Short) -> Short): Sh * * @includeFunctionBody ../../test/CollectionTest.kt groupBy */ -public inline fun ShortArray.groupBy(toKey: (Short) -> K) : Map> = groupByTo(HashMap>(), toKey) +public inline fun ShortArray.groupBy(toKey: (Short) -> K) : Map> = groupByTo(HashMap>(), toKey) /** * Groups the elements in the collection into the given [[Map]] using the supplied *toKey* function to calculate the key to group the elements by diff --git a/libraries/stdlib/src/kotlin/Iterables.kt b/libraries/stdlib/src/kotlin/Iterables.kt index ec134190a66..eefcd68c7a8 100644 --- a/libraries/stdlib/src/kotlin/Iterables.kt +++ b/libraries/stdlib/src/kotlin/Iterables.kt @@ -188,7 +188,7 @@ public inline fun Iterable.reduceRight(operation: (T, T) -> T): T = rever * * @includeFunctionBody ../../test/CollectionTest.kt groupBy */ -public inline fun Iterable.groupBy(toKey: (T) -> K) : Map> = groupByTo(HashMap>(), toKey) +public inline fun Iterable.groupBy(toKey: (T) -> K) : Map> = groupByTo(HashMap>(), toKey) /** * Groups the elements in the collection into the given [[Map]] using the supplied *toKey* function to calculate the key to group the elements by