From ee759c10c88798b0640edd5f85156dfeb9d2e295 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Sat, 7 Nov 2015 06:51:24 +0300 Subject: [PATCH] Minor: regenerate docs. --- libraries/stdlib/src/generated/_Collections.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/stdlib/src/generated/_Collections.kt b/libraries/stdlib/src/generated/_Collections.kt index 9f07da8aaf8..60100481844 100644 --- a/libraries/stdlib/src/generated/_Collections.kt +++ b/libraries/stdlib/src/generated/_Collections.kt @@ -790,7 +790,7 @@ public inline fun Iterable.takeWhile(predicate: (T) -> Boolean): List } /** - * Reverses elements in the collection in-place. + * Reverses elements in the list in-place. */ public fun MutableList.reverse(): Unit { java.util.Collections.reverse(this) @@ -807,21 +807,21 @@ public fun Iterable.reversed(): List { } /** - * Sorts elements in the collection in-place according to natural sort order of the value returned by specified [selector] function. + * Sorts elements in the list in-place according to natural sort order of the value returned by specified [selector] function. */ public inline fun > MutableList.sortBy(crossinline selector: (T) -> R?): Unit { if (size > 1) sortWith(compareBy(selector)) } /** - * Sorts elements in the collection in-place descending according to natural sort order of the value returned by specified [selector] function. + * Sorts elements in the list in-place descending according to natural sort order of the value returned by specified [selector] function. */ public inline fun > MutableList.sortByDescending(crossinline selector: (T) -> R?): Unit { if (size > 1) sortWith(compareByDescending(selector)) } /** - * Sorts elements in the collection in-place descending according to their natural sort order. + * Sorts elements in the list in-place descending according to their natural sort order. */ public fun > MutableList.sortDescending(): Unit { sortWith(reverseOrder())