From 4093147c69d6341328ff73c4307a55651c23ea21 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Thu, 18 Jun 2015 15:13:48 +0300 Subject: [PATCH] Regenerate docs for intersect and subtract. (PR#703) --- libraries/stdlib/src/generated/_Sets.kt | 40 ++++++++++++------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/libraries/stdlib/src/generated/_Sets.kt b/libraries/stdlib/src/generated/_Sets.kt index 0b1e92efe14..530ae0d9a56 100644 --- a/libraries/stdlib/src/generated/_Sets.kt +++ b/libraries/stdlib/src/generated/_Sets.kt @@ -277,7 +277,7 @@ public fun Stream.distinctBy(keySelector: (T) -> K): Stream { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by both this set and the specified collection. */ public fun Array.intersect(other: Iterable): Set { val set = this.toMutableSet() @@ -286,7 +286,7 @@ public fun Array.intersect(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by both this set and the specified collection. */ public fun BooleanArray.intersect(other: Iterable): Set { val set = this.toMutableSet() @@ -295,7 +295,7 @@ public fun BooleanArray.intersect(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by both this set and the specified collection. */ public fun ByteArray.intersect(other: Iterable): Set { val set = this.toMutableSet() @@ -304,7 +304,7 @@ public fun ByteArray.intersect(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by both this set and the specified collection. */ public fun CharArray.intersect(other: Iterable): Set { val set = this.toMutableSet() @@ -313,7 +313,7 @@ public fun CharArray.intersect(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by both this set and the specified collection. */ public fun DoubleArray.intersect(other: Iterable): Set { val set = this.toMutableSet() @@ -322,7 +322,7 @@ public fun DoubleArray.intersect(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by both this set and the specified collection. */ public fun FloatArray.intersect(other: Iterable): Set { val set = this.toMutableSet() @@ -331,7 +331,7 @@ public fun FloatArray.intersect(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by both this set and the specified collection. */ public fun IntArray.intersect(other: Iterable): Set { val set = this.toMutableSet() @@ -340,7 +340,7 @@ public fun IntArray.intersect(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by both this set and the specified collection. */ public fun LongArray.intersect(other: Iterable): Set { val set = this.toMutableSet() @@ -349,7 +349,7 @@ public fun LongArray.intersect(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by both this set and the specified collection. */ public fun ShortArray.intersect(other: Iterable): Set { val set = this.toMutableSet() @@ -358,7 +358,7 @@ public fun ShortArray.intersect(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by both this set and the specified collection. */ public fun Iterable.intersect(other: Iterable): Set { val set = this.toMutableSet() @@ -367,7 +367,7 @@ public fun Iterable.intersect(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by this set and not contained by the specified collection. */ public fun Array.subtract(other: Iterable): Set { val set = this.toMutableSet() @@ -376,7 +376,7 @@ public fun Array.subtract(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by this set and not contained by the specified collection. */ public fun BooleanArray.subtract(other: Iterable): Set { val set = this.toMutableSet() @@ -385,7 +385,7 @@ public fun BooleanArray.subtract(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by this set and not contained by the specified collection. */ public fun ByteArray.subtract(other: Iterable): Set { val set = this.toMutableSet() @@ -394,7 +394,7 @@ public fun ByteArray.subtract(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by this set and not contained by the specified collection. */ public fun CharArray.subtract(other: Iterable): Set { val set = this.toMutableSet() @@ -403,7 +403,7 @@ public fun CharArray.subtract(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by this set and not contained by the specified collection. */ public fun DoubleArray.subtract(other: Iterable): Set { val set = this.toMutableSet() @@ -412,7 +412,7 @@ public fun DoubleArray.subtract(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by this set and not contained by the specified collection. */ public fun FloatArray.subtract(other: Iterable): Set { val set = this.toMutableSet() @@ -421,7 +421,7 @@ public fun FloatArray.subtract(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by this set and not contained by the specified collection. */ public fun IntArray.subtract(other: Iterable): Set { val set = this.toMutableSet() @@ -430,7 +430,7 @@ public fun IntArray.subtract(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by this set and not contained by the specified collection. */ public fun LongArray.subtract(other: Iterable): Set { val set = this.toMutableSet() @@ -439,7 +439,7 @@ public fun LongArray.subtract(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by this set and not contained by the specified collection. */ public fun ShortArray.subtract(other: Iterable): Set { val set = this.toMutableSet() @@ -448,7 +448,7 @@ public fun ShortArray.subtract(other: Iterable): Set { } /** - * Returns a set containing all distinct elements from both collections. + * Returns a set containing all elements that are contained by this set and not contained by the specified collection. */ public fun Iterable.subtract(other: Iterable): Set { val set = this.toMutableSet()