Advance max/min(By/With) deprecation level to ERROR

This commit is contained in:
Abduqodiri Qurbonzoda
2021-03-25 22:05:28 +03:00
parent d70edeb38b
commit b0f1ddc91e
93 changed files with 476 additions and 572 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ class C(val nums: Map<E, Int>) {
private fun loadNormalizedNums(): Map<E, Float> {
val vals = nums.values
val min = vals.min()!!
val max = vals.max()!!
val min = vals.minOrNull()!!
val max = vals.maxOrNull()!!
val rangeDiff = (max - min).toFloat()
val normalizedNums = nums.map { kvp ->
val (e, num) = kvp
@@ -338,7 +338,7 @@ class LookupElementFactory(
.minByOrNull { it.enum }?.let { return it }
val overridden = descriptor.overriddenTreeUniqueAsSequence(useOriginal = false)
return overridden.map { callableWeightBasic(it, receiverTypes)!! }.minBy { it.enum }!!
return overridden.map { callableWeightBasic(it, receiverTypes)!! }.minByOrNull { it.enum }!!
}
return callableWeightBasic(descriptor, receiverTypes)
@@ -95,7 +95,7 @@ abstract class AbstractFileRankingTest : LowLevelDebuggerTestBase() {
}
}
val fileWithMaxScore = fileWithRankings.maxBy { it.value }!!
val fileWithMaxScore = fileWithRankings.maxByOrNull { it.value }!!
val actualFile = fileWithMaxScore.key
if (strictMode) {
@@ -42,7 +42,7 @@ abstract class FileRankingCalculator(private val checkClassFqName: Boolean = tru
fun findMostAppropriateSource(files: Collection<KtFile>, location: Location): KtFile {
val fileWithRankings: Map<KtFile, Int> = rankFiles(files, location)
val fileWithMaxScore = fileWithRankings.maxBy { it.value }!!
val fileWithMaxScore = fileWithRankings.maxByOrNull { it.value }!!
return fileWithMaxScore.key
}
@@ -32,7 +32,7 @@ interface ProfilerHandler {
fun determinePhasePath(dumpPath: Path, profilerConfig: ProfilerConfig): Path {
val activityPath = dumpPath.parent.resolve(profilerConfig.path)
val runNumber =
(activityPath.toFile().listFiles()?.maxBy { it.name.toIntOrNull() ?: 0 }?.name?.toIntOrNull()
(activityPath.toFile().listFiles()?.maxOfOrNull { it.name.toIntOrNull() ?: 0 }
?: 0) + 1
val runPath = activityPath.resolve("$runNumber")
runPath.toFile().mkdirs()
@@ -277,9 +277,6 @@ internal val collectionTerminationFunctionNames = listOf(
"mapIndexedTo",
"mapNotNullTo",
"mapTo",
"max",
"maxBy",
"maxWith",
"maxOrNull",
"maxByOrNull",
"maxWithOrNull",
@@ -287,9 +284,6 @@ internal val collectionTerminationFunctionNames = listOf(
"maxOfOrNull",
"maxOfWith",
"maxOfWithOrNull",
"min",
"minBy",
"minWith",
"minOrNull",
"minByOrNull",
"minWithOrNull",
@@ -87,22 +87,22 @@ class SimplifiableCallChainInspection : AbstractCallChainChecker() {
Conversion("kotlin.collections.filter", "kotlin.collections.singleOrNull", "singleOrNull"),
Conversion("kotlin.collections.filter", "kotlin.collections.isNotEmpty", "any"),
Conversion("kotlin.collections.filter", "kotlin.collections.List.isEmpty", "none"),
Conversion("kotlin.collections.sorted", "kotlin.collections.firstOrNull", "min"),
Conversion("kotlin.collections.sorted", "kotlin.collections.lastOrNull", "max"),
Conversion("kotlin.collections.sortedDescending", "kotlin.collections.firstOrNull", "max"),
Conversion("kotlin.collections.sortedDescending", "kotlin.collections.lastOrNull", "min"),
Conversion("kotlin.collections.sortedBy", "kotlin.collections.firstOrNull", "minBy"),
Conversion("kotlin.collections.sortedBy", "kotlin.collections.lastOrNull", "maxBy"),
Conversion("kotlin.collections.sortedByDescending", "kotlin.collections.firstOrNull", "maxBy"),
Conversion("kotlin.collections.sortedByDescending", "kotlin.collections.lastOrNull", "minBy"),
Conversion("kotlin.collections.sorted", "kotlin.collections.first", "min", withNotNullAssertion = true),
Conversion("kotlin.collections.sorted", "kotlin.collections.last", "max", withNotNullAssertion = true),
Conversion("kotlin.collections.sortedDescending", "kotlin.collections.first", "max", withNotNullAssertion = true),
Conversion("kotlin.collections.sortedDescending", "kotlin.collections.last", "min", withNotNullAssertion = true),
Conversion("kotlin.collections.sortedBy", "kotlin.collections.first", "minBy", withNotNullAssertion = true),
Conversion("kotlin.collections.sortedBy", "kotlin.collections.last", "maxBy", withNotNullAssertion = true),
Conversion("kotlin.collections.sortedByDescending", "kotlin.collections.first", "maxBy", withNotNullAssertion = true),
Conversion("kotlin.collections.sortedByDescending", "kotlin.collections.last", "minBy", withNotNullAssertion = true),
Conversion("kotlin.collections.sorted", "kotlin.collections.firstOrNull", "minOrNull"),
Conversion("kotlin.collections.sorted", "kotlin.collections.lastOrNull", "maxOrNull"),
Conversion("kotlin.collections.sortedDescending", "kotlin.collections.firstOrNull", "maxOrNull"),
Conversion("kotlin.collections.sortedDescending", "kotlin.collections.lastOrNull", "minOrNull"),
Conversion("kotlin.collections.sortedBy", "kotlin.collections.firstOrNull", "minByOrNull"),
Conversion("kotlin.collections.sortedBy", "kotlin.collections.lastOrNull", "maxByOrNull"),
Conversion("kotlin.collections.sortedByDescending", "kotlin.collections.firstOrNull", "maxByOrNull"),
Conversion("kotlin.collections.sortedByDescending", "kotlin.collections.lastOrNull", "minByOrNull"),
Conversion("kotlin.collections.sorted", "kotlin.collections.first", "minOrNull", withNotNullAssertion = true),
Conversion("kotlin.collections.sorted", "kotlin.collections.last", "maxOrNull", withNotNullAssertion = true),
Conversion("kotlin.collections.sortedDescending", "kotlin.collections.first", "maxOrNull", withNotNullAssertion = true),
Conversion("kotlin.collections.sortedDescending", "kotlin.collections.last", "minOrNull", withNotNullAssertion = true),
Conversion("kotlin.collections.sortedBy", "kotlin.collections.first", "minByOrNull", withNotNullAssertion = true),
Conversion("kotlin.collections.sortedBy", "kotlin.collections.last", "maxByOrNull", withNotNullAssertion = true),
Conversion("kotlin.collections.sortedByDescending", "kotlin.collections.first", "maxByOrNull", withNotNullAssertion = true),
Conversion("kotlin.collections.sortedByDescending", "kotlin.collections.last", "minByOrNull", withNotNullAssertion = true),
Conversion("kotlin.text.filter", "kotlin.text.first", "first"),
Conversion("kotlin.text.filter", "kotlin.text.firstOrNull", "firstOrNull"),
@@ -18,7 +18,7 @@ class MaxOrMinTransformation(
) : AssignToVariableResultTransformation(loop, initialization) {
override val presentation: String
get() = if (isMax) "max()" else "min()"
get() = if (isMax) "maxOrNull()" else "minOrNull()"
override fun generateCode(chainedCallGenerator: ChainedCallGenerator): KtExpression {
val call = chainedCallGenerator.generate(presentation)
@@ -1,5 +0,0 @@
// WITH_RUNTIME
fun test(list: List<Int>) {
val max: Int? = list.<caret>filter { it > 1 }.max()
}
@@ -1,5 +0,0 @@
// WITH_RUNTIME
fun test(list: List<Int>) {
val max: Int? = list.asSequence().filter { it > 1 }.max()
}
@@ -1,5 +0,0 @@
// WITH_RUNTIME
fun test(list: List<Int>) {
val maxBy: Int? = list.<caret>filter { it > 1 }.maxBy { true }
}
@@ -1,5 +0,0 @@
// WITH_RUNTIME
fun test(list: List<Int>) {
val maxBy: Int? = list.asSequence().filter { it > 1 }.maxBy { true }
}
@@ -1,5 +0,0 @@
// WITH_RUNTIME
fun test(list: List<Int>) {
val maxWith: Int? = list.<caret>filter { it > 1 }.maxWith(Comparator { o1, o2 -> 0 })
}
@@ -1,5 +0,0 @@
// WITH_RUNTIME
fun test(list: List<Int>) {
val maxWith: Int? = list.asSequence().filter { it > 1 }.maxWith(Comparator { o1, o2 -> 0 })
}
@@ -1,5 +0,0 @@
// WITH_RUNTIME
fun test(list: List<Int>) {
val min: Int? = list.<caret>filter { it > 1 }.min()
}
@@ -1,5 +0,0 @@
// WITH_RUNTIME
fun test(list: List<Int>) {
val min: Int? = list.asSequence().filter { it > 1 }.min()
}
@@ -1,5 +0,0 @@
// WITH_RUNTIME
fun test(list: List<Int>) {
val minBy: Int? = list.<caret>filter { it > 1 }.minBy { true }
}
@@ -1,5 +0,0 @@
// WITH_RUNTIME
fun test(list: List<Int>) {
val minBy: Int? = list.asSequence().filter { it > 1 }.minBy { true }
}
@@ -1,5 +0,0 @@
// WITH_RUNTIME
fun test(list: List<Int>) {
val maxWith: Int? = list.<caret>filter { it > 1 }.maxWith(Comparator { o1, o2 -> 0 })
}
@@ -1,5 +0,0 @@
// WITH_RUNTIME
fun test(list: List<Int>) {
val maxWith: Int? = list.asSequence().filter { it > 1 }.maxWith(Comparator { o1, o2 -> 0 })
}
@@ -3,5 +3,5 @@ fun test(list: List<String>) {
list
// comment
.<caret>asSequence()
.max()
.maxOrNull()
}
@@ -2,5 +2,5 @@
fun test(list: List<String>) {
list
// comment
.max()
.maxOrNull()
}
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x: Pair<String, Int> = listOf("a" to 1, "c" to 3, "b" to 2).maxBy { it.second }!!
val x: Pair<String, Int> = listOf("a" to 1, "c" to 3, "b" to 2).maxByOrNull { it.second }!!
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x = listOf("a" to 1, "c" to 3, "b" to 2).maxBy { it.second }
val x = listOf("a" to 1, "c" to 3, "b" to 2).maxByOrNull { it.second }
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x: Pair<String, Int> = listOf("a" to 1, "c" to 3, "b" to 2).minBy { it.second }!!
val x: Pair<String, Int> = listOf("a" to 1, "c" to 3, "b" to 2).minByOrNull { it.second }!!
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x = listOf("a" to 1, "c" to 3, "b" to 2).minBy { it.second }
val x = listOf("a" to 1, "c" to 3, "b" to 2).minByOrNull { it.second }
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x: Pair<String, Int> = listOf("a" to 1, "c" to 3, "b" to 2).minBy { it.second }!!
val x: Pair<String, Int> = listOf("a" to 1, "c" to 3, "b" to 2).minByOrNull { it.second }!!
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x = listOf("a" to 1, "c" to 3, "b" to 2).minBy { it.second }
val x = listOf("a" to 1, "c" to 3, "b" to 2).minByOrNull { it.second }
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x: Pair<String, Int> = listOf("a" to 1, "c" to 3, "b" to 2).maxBy { it.second }!!
val x: Pair<String, Int> = listOf("a" to 1, "c" to 3, "b" to 2).maxByOrNull { it.second }!!
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x = listOf("a" to 1, "c" to 3, "b" to 2).maxBy { it.second }
val x = listOf("a" to 1, "c" to 3, "b" to 2).maxByOrNull { it.second }
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x: Int = listOf(1, 3, 2).max()!!
val x: Int = listOf(1, 3, 2).maxOrNull()!!
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x = listOf(1, 3, 2).max()
val x = listOf(1, 3, 2).maxOrNull()
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x: Int = listOf(1, 3, 2).min()!!
val x: Int = listOf(1, 3, 2).minOrNull()!!
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x = listOf(1, 3, 2).min()
val x = listOf(1, 3, 2).minOrNull()
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x: Int = listOf(1, 3, 2).min()!!
val x: Int = listOf(1, 3, 2).minOrNull()!!
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x = listOf(1, 3, 2).min()
val x = listOf(1, 3, 2).minOrNull()
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x: Int = listOf(1, 3, 2).max()!!
val x: Int = listOf(1, 3, 2).maxOrNull()!!
@@ -1,2 +1,2 @@
// WITH_RUNTIME
val x = listOf(1, 3, 2).max()
val x = listOf(1, 3, 2).maxOrNull()
+2 -2
View File
@@ -1,6 +1,6 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'filter{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.max()'"
// INTENTION_TEXT: "Replace with 'filter{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.maxOrNull()'"
fun f(list: List<Int>) {
var result = -1
<caret>for (item in list)
@@ -1,9 +1,9 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'filter{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.max()'"
// INTENTION_TEXT: "Replace with 'filter{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.maxOrNull()'"
fun f(list: List<Int>) {
val <caret>result = list
.filter { it % 2 == 0 }
.max()
.maxOrNull()
?: -1
}
@@ -1,10 +1,10 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'filter{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.max()'"
// INTENTION_TEXT: "Replace with 'filter{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().filter{}.maxOrNull()'"
fun f(list: List<Int>) {
val <caret>result = list
.asSequence()
.filter { it % 2 == 0 }
.max()
.maxOrNull()
?: -1
}
+2 -2
View File
@@ -1,6 +1,6 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
fun getMaxLineWidth(lineCount: Int): Float {
var max_width = 0.0f
<caret>for (i in 0..lineCount - 1) {
@@ -1,10 +1,10 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
fun getMaxLineWidth(lineCount: Int): Float {
val <caret>max_width = (0..lineCount - 1)
.map { getLineWidth(it) }
.max()
.maxOrNull()
?: 0.0f
return max_width
}
@@ -1,11 +1,11 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
fun getMaxLineWidth(lineCount: Int): Float {
val <caret>max_width = (0..lineCount - 1)
.asSequence()
.map { getLineWidth(it) }
.max()
.maxOrNull()
?: 0.0f
return max_width
}
+2 -2
View File
@@ -1,6 +1,6 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
fun getMaxLineWidth(lineCount: Int): Float {
var max_width = 0.0f
<caret>for (i in 0..lineCount - 1) {
@@ -1,10 +1,10 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
fun getMaxLineWidth(lineCount: Int): Float {
val <caret>max_width = (0..lineCount - 1)
.map { getLineWidth(it) }
.max()
.maxOrNull()
?: 0.0f
return max_width
}
@@ -1,11 +1,11 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
fun getMaxLineWidth(lineCount: Int): Float {
val <caret>max_width = (0..lineCount - 1)
.asSequence()
.map { getLineWidth(it) }
.max()
.maxOrNull()
?: 0.0f
return max_width
}
+2 -2
View File
@@ -1,6 +1,6 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
fun getMaxLineWidth(lineCount: Int): Float {
var max_width = 0.0f
<caret>for (i in 0..lineCount - 1) {
@@ -1,10 +1,10 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
fun getMaxLineWidth(lineCount: Int): Float {
val <caret>max_width = (0..lineCount - 1)
.map { getLineWidth(it) }
.max()
.maxOrNull()
?: 0.0f
return max_width
}
@@ -1,11 +1,11 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
fun getMaxLineWidth(lineCount: Int): Float {
val <caret>max_width = (0..lineCount - 1)
.asSequence()
.map { getLineWidth(it) }
.max()
.maxOrNull()
?: 0.0f
return max_width
}
+1 -1
View File
@@ -1,5 +1,5 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'max()'"
// INTENTION_TEXT: "Replace with 'maxOrNull()'"
// IS_APPLICABLE_2: false
fun getMaxLineWidth(list: List<Float>): Float {
var max = 0.0f
@@ -1,8 +1,8 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'max()'"
// INTENTION_TEXT: "Replace with 'maxOrNull()'"
// IS_APPLICABLE_2: false
fun getMaxLineWidth(list: List<Float>): Float {
val <caret>max = list.max()
val <caret>max = list.maxOrNull()
?: 0.0f
return max
}
+2 -2
View File
@@ -1,6 +1,6 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
fun getMaxLineWidth(count: Int): Double {
var max = 0.0
<caret>for (i in 0..count-1) {
@@ -1,10 +1,10 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
fun getMaxLineWidth(count: Int): Double {
val max = (0..count-1)
.map { getLineWidth(it) }
.max()
.maxOrNull()
?: 0.0
return max
}
@@ -1,11 +1,11 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
fun getMaxLineWidth(count: Int): Double {
val max = (0..count-1)
.asSequence()
.map { getLineWidth(it) }
.max()
.maxOrNull()
?: 0.0
return max
}
+2 -2
View File
@@ -1,6 +1,6 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'mapIndexed{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.max()'"
// INTENTION_TEXT: "Replace with 'mapIndexed{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.maxOrNull()'"
fun getMaxLineWidth(list: List<Double>): Double {
var max = 0.0
<caret>for ((i, item) in list.withIndex()) {
@@ -1,10 +1,10 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'mapIndexed{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.max()'"
// INTENTION_TEXT: "Replace with 'mapIndexed{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.maxOrNull()'"
fun getMaxLineWidth(list: List<Double>): Double {
val <caret>max = list
.mapIndexed { i, item -> item * i }
.max()
.maxOrNull()
?: 0.0
return max
}
@@ -1,11 +1,11 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'mapIndexed{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.max()'"
// INTENTION_TEXT: "Replace with 'mapIndexed{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().mapIndexed{}.maxOrNull()'"
fun getMaxLineWidth(list: List<Double>): Double {
val <caret>max = list
.asSequence()
.mapIndexed { i, item -> item * i }
.max()
.maxOrNull()
?: 0.0
return max
}
+2 -2
View File
@@ -1,6 +1,6 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
import java.lang.Math.max
fun getMaxLineWidth(count: Int): Double {
@@ -1,12 +1,12 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
import java.lang.Math.max
fun getMaxLineWidth(count: Int): Double {
val <caret>m = (0..count-1)
.map { getLineWidth(it) }
.max()
.maxOrNull()
?: 0.0
return m
}
@@ -1,13 +1,13 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
import java.lang.Math.max
fun getMaxLineWidth(count: Int): Double {
val <caret>m = (0..count-1)
.asSequence()
.map { getLineWidth(it) }
.max()
.maxOrNull()
?: 0.0
return m
}
+2 -2
View File
@@ -1,6 +1,6 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.min()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.min()'"
// INTENTION_TEXT: "Replace with 'map{}.minOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'"
fun getMinLineWidth(lineCount: Int): Double {
var min_width = Double.MAX_VALUE
<caret>for (i in 0..lineCount - 1) {
@@ -1,10 +1,10 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.min()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.min()'"
// INTENTION_TEXT: "Replace with 'map{}.minOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'"
fun getMinLineWidth(lineCount: Int): Double {
val <caret>min_width = (0..lineCount - 1)
.map { getLineWidth(it) }
.min()
.minOrNull()
?: Double.MAX_VALUE
return min_width
}
@@ -1,11 +1,11 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.min()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.min()'"
// INTENTION_TEXT: "Replace with 'map{}.minOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'"
fun getMinLineWidth(lineCount: Int): Double {
val <caret>min_width = (0..lineCount - 1)
.asSequence()
.map { getLineWidth(it) }
.min()
.minOrNull()
?: Double.MAX_VALUE
return min_width
}
+2 -2
View File
@@ -1,6 +1,6 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.min()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.min()'"
// INTENTION_TEXT: "Replace with 'map{}.minOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'"
fun getMinLineWidth(lineCount: Int): Double {
var min_width = Double.MAX_VALUE
<caret>for (i in 0..lineCount - 1) {
@@ -1,10 +1,10 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.min()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.min()'"
// INTENTION_TEXT: "Replace with 'map{}.minOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'"
fun getMinLineWidth(lineCount: Int): Double {
val <caret>min_width = (0..lineCount - 1)
.map { getLineWidth(it) }
.min()
.minOrNull()
?: Double.MAX_VALUE
return min_width
}
@@ -1,11 +1,11 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.min()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.min()'"
// INTENTION_TEXT: "Replace with 'map{}.minOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'"
fun getMinLineWidth(lineCount: Int): Double {
val <caret>min_width = (0..lineCount - 1)
.asSequence()
.map { getLineWidth(it) }
.min()
.minOrNull()
?: Double.MAX_VALUE
return min_width
}
+2 -2
View File
@@ -1,6 +1,6 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.min()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.min()'"
// INTENTION_TEXT: "Replace with 'map{}.minOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'"
fun getMinLineWidth(lineCount: Int): Double {
var min_width = Double.MAX_VALUE
<caret>for (i in 0..lineCount - 1) {
@@ -1,10 +1,10 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.min()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.min()'"
// INTENTION_TEXT: "Replace with 'map{}.minOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'"
fun getMinLineWidth(lineCount: Int): Double {
val <caret>min_width = (0..lineCount - 1)
.map { getLineWidth(it) }
.min()
.minOrNull()
?: Double.MAX_VALUE
return min_width
}
@@ -1,11 +1,11 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.min()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.min()'"
// INTENTION_TEXT: "Replace with 'map{}.minOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'"
fun getMinLineWidth(lineCount: Int): Double {
val <caret>min_width = (0..lineCount - 1)
.asSequence()
.map { getLineWidth(it) }
.min()
.minOrNull()
?: Double.MAX_VALUE
return min_width
}
+2 -2
View File
@@ -1,6 +1,6 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.min()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.min()'"
// INTENTION_TEXT: "Replace with 'map{}.minOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'"
fun getMinLineWidth(lineCount: Int): Double {
var min_width = Double.MAX_VALUE
<caret>for (i in 0..lineCount - 1) {
@@ -1,10 +1,10 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.min()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.min()'"
// INTENTION_TEXT: "Replace with 'map{}.minOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'"
fun getMinLineWidth(lineCount: Int): Double {
val <caret>min_width = (0..lineCount - 1)
.map { getLineWidth(it) }
.min()
.minOrNull()
?: Double.MAX_VALUE
return min_width
}
@@ -1,11 +1,11 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.min()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.min()'"
// INTENTION_TEXT: "Replace with 'map{}.minOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'"
fun getMinLineWidth(lineCount: Int): Double {
val <caret>min_width = (0..lineCount - 1)
.asSequence()
.map { getLineWidth(it) }
.min()
.minOrNull()
?: Double.MAX_VALUE
return min_width
}
+2 -2
View File
@@ -1,6 +1,6 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.min()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.min()'"
// INTENTION_TEXT: "Replace with 'map{}.minOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'"
fun getMinLineWidth(lineCount: Int): Double {
var min_width = Double.MAX_VALUE
<caret>for (i in 0..lineCount - 1) {
@@ -1,10 +1,10 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.min()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.min()'"
// INTENTION_TEXT: "Replace with 'map{}.minOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'"
fun getMinLineWidth(lineCount: Int): Double {
val <caret>min_width = (0..lineCount - 1)
.map { getLineWidth(it) }
.min()
.minOrNull()
?: Double.MAX_VALUE
return min_width
}
@@ -1,11 +1,11 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.min()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.min()'"
// INTENTION_TEXT: "Replace with 'map{}.minOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.minOrNull()'"
fun getMinLineWidth(lineCount: Int): Double {
val <caret>min_width = (0..lineCount - 1)
.asSequence()
.map { getLineWidth(it) }
.min()
.minOrNull()
?: Double.MAX_VALUE
return min_width
}
@@ -18,6 +18,6 @@
fun doSomethingStrangeWithCollection(collection: Collection<String>): Collection<String>? {
val groupsByLength = collection.groupBy { s -> { s.length } }
val maximumSizeOfGroup = groupsByLength.values.maxBy { it.size }.
val maximumSizeOfGroup = groupsByLength.values.maxByOrNull { it.size }.
return groupsByLength.values.firstOrNull { group -> {group.size == <caret>maximumSizeOfGroup} }
}
@@ -1373,16 +1373,6 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/mapTo.kt");
}
@TestMetadata("max.kt")
public void testMax() throws Exception {
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/max.kt");
}
@TestMetadata("maxBy.kt")
public void testMaxBy() throws Exception {
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxBy.kt");
}
@TestMetadata("maxByOrNull.kt")
public void testMaxByOrNull() throws Exception {
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxByOrNull.kt");
@@ -1413,26 +1403,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxOrNull.kt");
}
@TestMetadata("maxWith.kt")
public void testMaxWith() throws Exception {
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxWith.kt");
}
@TestMetadata("maxWithOrNull.kt")
public void testMaxWithOrNull() throws Exception {
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/maxWithOrNull.kt");
}
@TestMetadata("min.kt")
public void testMin() throws Exception {
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/min.kt");
}
@TestMetadata("minBy.kt")
public void testMinBy() throws Exception {
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minBy.kt");
}
@TestMetadata("minByOrNull.kt")
public void testMinByOrNull() throws Exception {
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minByOrNull.kt");
@@ -1463,11 +1438,6 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minOrNull.kt");
}
@TestMetadata("minWith.kt")
public void testMinWith() throws Exception {
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minWith.kt");
}
@TestMetadata("minWithOrNull.kt")
public void testMinWithOrNull() throws Exception {
runTest("idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/minWithOrNull.kt");
+1 -1
View File
@@ -120,7 +120,7 @@ fun printField(s: String, steps: Int) {
fun makeField(s: String): Field {
val lines: List<String> = s.split("\n")
val w = lines.map { it.length }.max()!!
val w = lines.maxOf { it.length }
val data = Array(lines.size) { Array(w) { false } }
// workaround
@@ -4184,155 +4184,155 @@ public inline fun <K, V, R> kotlin.collections.Map<out K, V>.mapValues(transform
public inline fun <K, V, R, M : kotlin.collections.MutableMap<in K, in R>> kotlin.collections.Map<out K, V>.mapValuesTo(destination: M, transform: (kotlin.collections.Map.Entry<K, V>) -> R): M
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T : kotlin.Comparable<T>> kotlin.Array<out T>.max(): T?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.Array<out kotlin.Double>.max(): kotlin.Double?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.Array<out kotlin.Float>.max(): kotlin.Float?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ByteArray.max(): kotlin.Byte?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharArray.max(): kotlin.Char?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.DoubleArray.max(): kotlin.Double?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.FloatArray.max(): kotlin.Float?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.IntArray.max(): kotlin.Int?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.LongArray.max(): kotlin.Long?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ShortArray.max(): kotlin.Short?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UByteArray.max(): kotlin.UByte?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UIntArray.max(): kotlin.UInt?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.ULongArray.max(): kotlin.ULong?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UShortArray.max(): kotlin.UShort?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T : kotlin.Comparable<T>> kotlin.collections.Iterable<T>.max(): T?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.collections.Iterable<kotlin.Double>.max(): kotlin.Double?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.collections.Iterable<kotlin.Float>.max(): kotlin.Float?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <T, R : kotlin.Comparable<R>> kotlin.Array<out T>.maxBy(selector: (T) -> R): T?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.BooleanArray.maxBy(selector: (kotlin.Boolean) -> R): kotlin.Boolean?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.ByteArray.maxBy(selector: (kotlin.Byte) -> R): kotlin.Byte?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.CharArray.maxBy(selector: (kotlin.Char) -> R): kotlin.Char?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.DoubleArray.maxBy(selector: (kotlin.Double) -> R): kotlin.Double?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.FloatArray.maxBy(selector: (kotlin.Float) -> R): kotlin.Float?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.IntArray.maxBy(selector: (kotlin.Int) -> R): kotlin.Int?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.LongArray.maxBy(selector: (kotlin.Long) -> R): kotlin.Long?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.ShortArray.maxBy(selector: (kotlin.Short) -> R): kotlin.Short?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.UByteArray.maxBy(selector: (kotlin.UByte) -> R): kotlin.UByte?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.UIntArray.maxBy(selector: (kotlin.UInt) -> R): kotlin.UInt?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.ULongArray.maxBy(selector: (kotlin.ULong) -> R): kotlin.ULong?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.UShortArray.maxBy(selector: (kotlin.UShort) -> R): kotlin.UShort?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <T, R : kotlin.Comparable<R>> kotlin.collections.Iterable<T>.maxBy(selector: (T) -> R): T?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.internal.InlineOnly
public inline fun <K, V, R : kotlin.Comparable<R>> kotlin.collections.Map<out K, V>.maxBy(selector: (kotlin.collections.Map.Entry<K, V>) -> R): kotlin.collections.Map.Entry<K, V>?
@@ -5078,71 +5078,71 @@ public fun kotlin.collections.Iterable<kotlin.Double>.maxOrNull(): kotlin.Double
public fun kotlin.collections.Iterable<kotlin.Float>.maxOrNull(): kotlin.Float?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T> kotlin.Array<out T>.maxWith(comparator: kotlin.Comparator<in T>): T?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.BooleanArray.maxWith(comparator: kotlin.Comparator<in kotlin.Boolean>): kotlin.Boolean?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ByteArray.maxWith(comparator: kotlin.Comparator<in kotlin.Byte>): kotlin.Byte?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharArray.maxWith(comparator: kotlin.Comparator<in kotlin.Char>): kotlin.Char?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.DoubleArray.maxWith(comparator: kotlin.Comparator<in kotlin.Double>): kotlin.Double?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.FloatArray.maxWith(comparator: kotlin.Comparator<in kotlin.Float>): kotlin.Float?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.IntArray.maxWith(comparator: kotlin.Comparator<in kotlin.Int>): kotlin.Int?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.LongArray.maxWith(comparator: kotlin.Comparator<in kotlin.Long>): kotlin.Long?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ShortArray.maxWith(comparator: kotlin.Comparator<in kotlin.Short>): kotlin.Short?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UByteArray.maxWith(comparator: kotlin.Comparator<in kotlin.UByte>): kotlin.UByte?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UIntArray.maxWith(comparator: kotlin.Comparator<in kotlin.UInt>): kotlin.UInt?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.ULongArray.maxWith(comparator: kotlin.Comparator<in kotlin.ULong>): kotlin.ULong?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UShortArray.maxWith(comparator: kotlin.Comparator<in kotlin.UShort>): kotlin.UShort?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T> kotlin.collections.Iterable<T>.maxWith(comparator: kotlin.Comparator<in T>): T?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.internal.InlineOnly
public inline fun <K, V> kotlin.collections.Map<out K, V>.maxWith(comparator: kotlin.Comparator<in kotlin.collections.Map.Entry<K, V>>): kotlin.collections.Map.Entry<K, V>?
@@ -5197,155 +5197,155 @@ public fun <T> kotlin.collections.Iterable<T>.maxWithOrNull(comparator: kotlin.C
public inline fun <K, V> kotlin.collections.Map<out K, V>.maxWithOrNull(comparator: kotlin.Comparator<in kotlin.collections.Map.Entry<K, V>>): kotlin.collections.Map.Entry<K, V>?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T : kotlin.Comparable<T>> kotlin.Array<out T>.min(): T?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.Array<out kotlin.Double>.min(): kotlin.Double?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.Array<out kotlin.Float>.min(): kotlin.Float?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ByteArray.min(): kotlin.Byte?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharArray.min(): kotlin.Char?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.DoubleArray.min(): kotlin.Double?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.FloatArray.min(): kotlin.Float?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.IntArray.min(): kotlin.Int?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.LongArray.min(): kotlin.Long?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ShortArray.min(): kotlin.Short?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UByteArray.min(): kotlin.UByte?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UIntArray.min(): kotlin.UInt?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.ULongArray.min(): kotlin.ULong?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UShortArray.min(): kotlin.UShort?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T : kotlin.Comparable<T>> kotlin.collections.Iterable<T>.min(): T?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.collections.Iterable<kotlin.Double>.min(): kotlin.Double?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.collections.Iterable<kotlin.Float>.min(): kotlin.Float?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <T, R : kotlin.Comparable<R>> kotlin.Array<out T>.minBy(selector: (T) -> R): T?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.BooleanArray.minBy(selector: (kotlin.Boolean) -> R): kotlin.Boolean?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.ByteArray.minBy(selector: (kotlin.Byte) -> R): kotlin.Byte?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.CharArray.minBy(selector: (kotlin.Char) -> R): kotlin.Char?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.DoubleArray.minBy(selector: (kotlin.Double) -> R): kotlin.Double?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.FloatArray.minBy(selector: (kotlin.Float) -> R): kotlin.Float?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.IntArray.minBy(selector: (kotlin.Int) -> R): kotlin.Int?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.LongArray.minBy(selector: (kotlin.Long) -> R): kotlin.Long?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.ShortArray.minBy(selector: (kotlin.Short) -> R): kotlin.Short?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.UByteArray.minBy(selector: (kotlin.UByte) -> R): kotlin.UByte?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.UIntArray.minBy(selector: (kotlin.UInt) -> R): kotlin.UInt?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.ULongArray.minBy(selector: (kotlin.ULong) -> R): kotlin.ULong?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.UShortArray.minBy(selector: (kotlin.UShort) -> R): kotlin.UShort?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <T, R : kotlin.Comparable<R>> kotlin.collections.Iterable<T>.minBy(selector: (T) -> R): T?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <K, V, R : kotlin.Comparable<R>> kotlin.collections.Map<out K, V>.minBy(selector: (kotlin.collections.Map.Entry<K, V>) -> R): kotlin.collections.Map.Entry<K, V>?
@kotlin.SinceKotlin(version = "1.4")
@@ -6090,71 +6090,71 @@ public fun kotlin.collections.Iterable<kotlin.Double>.minOrNull(): kotlin.Double
public fun kotlin.collections.Iterable<kotlin.Float>.minOrNull(): kotlin.Float?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T> kotlin.Array<out T>.minWith(comparator: kotlin.Comparator<in T>): T?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.BooleanArray.minWith(comparator: kotlin.Comparator<in kotlin.Boolean>): kotlin.Boolean?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ByteArray.minWith(comparator: kotlin.Comparator<in kotlin.Byte>): kotlin.Byte?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharArray.minWith(comparator: kotlin.Comparator<in kotlin.Char>): kotlin.Char?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.DoubleArray.minWith(comparator: kotlin.Comparator<in kotlin.Double>): kotlin.Double?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.FloatArray.minWith(comparator: kotlin.Comparator<in kotlin.Float>): kotlin.Float?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.IntArray.minWith(comparator: kotlin.Comparator<in kotlin.Int>): kotlin.Int?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.LongArray.minWith(comparator: kotlin.Comparator<in kotlin.Long>): kotlin.Long?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ShortArray.minWith(comparator: kotlin.Comparator<in kotlin.Short>): kotlin.Short?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UByteArray.minWith(comparator: kotlin.Comparator<in kotlin.UByte>): kotlin.UByte?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UIntArray.minWith(comparator: kotlin.Comparator<in kotlin.UInt>): kotlin.UInt?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.ULongArray.minWith(comparator: kotlin.Comparator<in kotlin.ULong>): kotlin.ULong?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UShortArray.minWith(comparator: kotlin.Comparator<in kotlin.UShort>): kotlin.UShort?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T> kotlin.collections.Iterable<T>.minWith(comparator: kotlin.Comparator<in T>): T?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <K, V> kotlin.collections.Map<out K, V>.minWith(comparator: kotlin.Comparator<in kotlin.collections.Map.Entry<K, V>>): kotlin.collections.Map.Entry<K, V>?
@kotlin.SinceKotlin(version = "1.4")
+10 -10
View File
@@ -254,21 +254,21 @@ public inline fun <T, R : kotlin.Any, C : kotlin.collections.MutableCollection<i
public inline fun <T, R, C : kotlin.collections.MutableCollection<in R>> kotlin.sequences.Sequence<T>.mapTo(destination: C, transform: (T) -> R): C
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T : kotlin.Comparable<T>> kotlin.sequences.Sequence<T>.max(): T?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.sequences.Sequence<kotlin.Double>.max(): kotlin.Double?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.sequences.Sequence<kotlin.Float>.max(): kotlin.Float?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <T, R : kotlin.Comparable<R>> kotlin.sequences.Sequence<T>.maxBy(selector: (T) -> R): T?
@kotlin.SinceKotlin(version = "1.4")
@@ -324,28 +324,28 @@ public fun kotlin.sequences.Sequence<kotlin.Double>.maxOrNull(): kotlin.Double?
public fun kotlin.sequences.Sequence<kotlin.Float>.maxOrNull(): kotlin.Float?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T> kotlin.sequences.Sequence<T>.maxWith(comparator: kotlin.Comparator<in T>): T?
@kotlin.SinceKotlin(version = "1.4")
public fun <T> kotlin.sequences.Sequence<T>.maxWithOrNull(comparator: kotlin.Comparator<in T>): T?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T : kotlin.Comparable<T>> kotlin.sequences.Sequence<T>.min(): T?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.sequences.Sequence<kotlin.Double>.min(): kotlin.Double?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.sequences.Sequence<kotlin.Float>.min(): kotlin.Float?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <T, R : kotlin.Comparable<R>> kotlin.sequences.Sequence<T>.minBy(selector: (T) -> R): T?
@kotlin.SinceKotlin(version = "1.4")
@@ -401,7 +401,7 @@ public fun kotlin.sequences.Sequence<kotlin.Double>.minOrNull(): kotlin.Double?
public fun kotlin.sequences.Sequence<kotlin.Float>.minOrNull(): kotlin.Float?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T> kotlin.sequences.Sequence<T>.minWith(comparator: kotlin.Comparator<in T>): T?
@kotlin.SinceKotlin(version = "1.4")
+6 -6
View File
@@ -489,11 +489,11 @@ public inline infix fun kotlin.CharSequence.matches(regex: kotlin.text.Regex): k
public fun kotlin.String.matches(regex: kotlin.String): kotlin.Boolean
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharSequence.max(): kotlin.Char?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.CharSequence.maxBy(selector: (kotlin.Char) -> R): kotlin.Char?
@kotlin.SinceKotlin(version = "1.4")
@@ -543,18 +543,18 @@ public inline fun <R> kotlin.CharSequence.maxOfWithOrNull(comparator: kotlin.Com
public fun kotlin.CharSequence.maxOrNull(): kotlin.Char?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharSequence.maxWith(comparator: kotlin.Comparator<in kotlin.Char>): kotlin.Char?
@kotlin.SinceKotlin(version = "1.4")
public fun kotlin.CharSequence.maxWithOrNull(comparator: kotlin.Comparator<in kotlin.Char>): kotlin.Char?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharSequence.min(): kotlin.Char?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.CharSequence.minBy(selector: (kotlin.Char) -> R): kotlin.Char?
@kotlin.SinceKotlin(version = "1.4")
@@ -604,7 +604,7 @@ public inline fun <R> kotlin.CharSequence.minOfWithOrNull(comparator: kotlin.Com
public fun kotlin.CharSequence.minOrNull(): kotlin.Char?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharSequence.minWith(comparator: kotlin.Comparator<in kotlin.Char>): kotlin.Char?
@kotlin.SinceKotlin(version = "1.4")
+94 -94
View File
@@ -4154,155 +4154,155 @@ public inline fun <K, V, R> kotlin.collections.Map<out K, V>.mapValues(transform
public inline fun <K, V, R, M : kotlin.collections.MutableMap<in K, in R>> kotlin.collections.Map<out K, V>.mapValuesTo(destination: M, transform: (kotlin.collections.Map.Entry<K, V>) -> R): M
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T : kotlin.Comparable<T>> kotlin.Array<out T>.max(): T?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.Array<out kotlin.Double>.max(): kotlin.Double?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.Array<out kotlin.Float>.max(): kotlin.Float?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ByteArray.max(): kotlin.Byte?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharArray.max(): kotlin.Char?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.DoubleArray.max(): kotlin.Double?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.FloatArray.max(): kotlin.Float?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.IntArray.max(): kotlin.Int?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.LongArray.max(): kotlin.Long?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ShortArray.max(): kotlin.Short?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UByteArray.max(): kotlin.UByte?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UIntArray.max(): kotlin.UInt?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.ULongArray.max(): kotlin.ULong?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UShortArray.max(): kotlin.UShort?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T : kotlin.Comparable<T>> kotlin.collections.Iterable<T>.max(): T?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.collections.Iterable<kotlin.Double>.max(): kotlin.Double?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.collections.Iterable<kotlin.Float>.max(): kotlin.Float?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <T, R : kotlin.Comparable<R>> kotlin.Array<out T>.maxBy(selector: (T) -> R): T?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.BooleanArray.maxBy(selector: (kotlin.Boolean) -> R): kotlin.Boolean?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.ByteArray.maxBy(selector: (kotlin.Byte) -> R): kotlin.Byte?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.CharArray.maxBy(selector: (kotlin.Char) -> R): kotlin.Char?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.DoubleArray.maxBy(selector: (kotlin.Double) -> R): kotlin.Double?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.FloatArray.maxBy(selector: (kotlin.Float) -> R): kotlin.Float?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.IntArray.maxBy(selector: (kotlin.Int) -> R): kotlin.Int?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.LongArray.maxBy(selector: (kotlin.Long) -> R): kotlin.Long?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.ShortArray.maxBy(selector: (kotlin.Short) -> R): kotlin.Short?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.UByteArray.maxBy(selector: (kotlin.UByte) -> R): kotlin.UByte?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.UIntArray.maxBy(selector: (kotlin.UInt) -> R): kotlin.UInt?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.ULongArray.maxBy(selector: (kotlin.ULong) -> R): kotlin.ULong?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.UShortArray.maxBy(selector: (kotlin.UShort) -> R): kotlin.UShort?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <T, R : kotlin.Comparable<R>> kotlin.collections.Iterable<T>.maxBy(selector: (T) -> R): T?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.internal.InlineOnly
public inline fun <K, V, R : kotlin.Comparable<R>> kotlin.collections.Map<out K, V>.maxBy(selector: (kotlin.collections.Map.Entry<K, V>) -> R): kotlin.collections.Map.Entry<K, V>?
@@ -5048,71 +5048,71 @@ public fun kotlin.collections.Iterable<kotlin.Double>.maxOrNull(): kotlin.Double
public fun kotlin.collections.Iterable<kotlin.Float>.maxOrNull(): kotlin.Float?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T> kotlin.Array<out T>.maxWith(comparator: kotlin.Comparator<in T>): T?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.BooleanArray.maxWith(comparator: kotlin.Comparator<in kotlin.Boolean>): kotlin.Boolean?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ByteArray.maxWith(comparator: kotlin.Comparator<in kotlin.Byte>): kotlin.Byte?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharArray.maxWith(comparator: kotlin.Comparator<in kotlin.Char>): kotlin.Char?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.DoubleArray.maxWith(comparator: kotlin.Comparator<in kotlin.Double>): kotlin.Double?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.FloatArray.maxWith(comparator: kotlin.Comparator<in kotlin.Float>): kotlin.Float?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.IntArray.maxWith(comparator: kotlin.Comparator<in kotlin.Int>): kotlin.Int?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.LongArray.maxWith(comparator: kotlin.Comparator<in kotlin.Long>): kotlin.Long?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ShortArray.maxWith(comparator: kotlin.Comparator<in kotlin.Short>): kotlin.Short?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UByteArray.maxWith(comparator: kotlin.Comparator<in kotlin.UByte>): kotlin.UByte?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UIntArray.maxWith(comparator: kotlin.Comparator<in kotlin.UInt>): kotlin.UInt?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.ULongArray.maxWith(comparator: kotlin.Comparator<in kotlin.ULong>): kotlin.ULong?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UShortArray.maxWith(comparator: kotlin.Comparator<in kotlin.UShort>): kotlin.UShort?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T> kotlin.collections.Iterable<T>.maxWith(comparator: kotlin.Comparator<in T>): T?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.internal.InlineOnly
public inline fun <K, V> kotlin.collections.Map<out K, V>.maxWith(comparator: kotlin.Comparator<in kotlin.collections.Map.Entry<K, V>>): kotlin.collections.Map.Entry<K, V>?
@@ -5167,155 +5167,155 @@ public fun <T> kotlin.collections.Iterable<T>.maxWithOrNull(comparator: kotlin.C
public inline fun <K, V> kotlin.collections.Map<out K, V>.maxWithOrNull(comparator: kotlin.Comparator<in kotlin.collections.Map.Entry<K, V>>): kotlin.collections.Map.Entry<K, V>?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T : kotlin.Comparable<T>> kotlin.Array<out T>.min(): T?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.Array<out kotlin.Double>.min(): kotlin.Double?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.Array<out kotlin.Float>.min(): kotlin.Float?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ByteArray.min(): kotlin.Byte?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharArray.min(): kotlin.Char?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.DoubleArray.min(): kotlin.Double?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.FloatArray.min(): kotlin.Float?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.IntArray.min(): kotlin.Int?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.LongArray.min(): kotlin.Long?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ShortArray.min(): kotlin.Short?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UByteArray.min(): kotlin.UByte?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UIntArray.min(): kotlin.UInt?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.ULongArray.min(): kotlin.ULong?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UShortArray.min(): kotlin.UShort?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T : kotlin.Comparable<T>> kotlin.collections.Iterable<T>.min(): T?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.collections.Iterable<kotlin.Double>.min(): kotlin.Double?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.collections.Iterable<kotlin.Float>.min(): kotlin.Float?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <T, R : kotlin.Comparable<R>> kotlin.Array<out T>.minBy(selector: (T) -> R): T?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.BooleanArray.minBy(selector: (kotlin.Boolean) -> R): kotlin.Boolean?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.ByteArray.minBy(selector: (kotlin.Byte) -> R): kotlin.Byte?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.CharArray.minBy(selector: (kotlin.Char) -> R): kotlin.Char?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.DoubleArray.minBy(selector: (kotlin.Double) -> R): kotlin.Double?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.FloatArray.minBy(selector: (kotlin.Float) -> R): kotlin.Float?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.IntArray.minBy(selector: (kotlin.Int) -> R): kotlin.Int?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.LongArray.minBy(selector: (kotlin.Long) -> R): kotlin.Long?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.ShortArray.minBy(selector: (kotlin.Short) -> R): kotlin.Short?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.UByteArray.minBy(selector: (kotlin.UByte) -> R): kotlin.UByte?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.UIntArray.minBy(selector: (kotlin.UInt) -> R): kotlin.UInt?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.ULongArray.minBy(selector: (kotlin.ULong) -> R): kotlin.ULong?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
public inline fun <R : kotlin.Comparable<R>> kotlin.UShortArray.minBy(selector: (kotlin.UShort) -> R): kotlin.UShort?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <T, R : kotlin.Comparable<R>> kotlin.collections.Iterable<T>.minBy(selector: (T) -> R): T?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <K, V, R : kotlin.Comparable<R>> kotlin.collections.Map<out K, V>.minBy(selector: (kotlin.collections.Map.Entry<K, V>) -> R): kotlin.collections.Map.Entry<K, V>?
@kotlin.SinceKotlin(version = "1.4")
@@ -6060,71 +6060,71 @@ public fun kotlin.collections.Iterable<kotlin.Double>.minOrNull(): kotlin.Double
public fun kotlin.collections.Iterable<kotlin.Float>.minOrNull(): kotlin.Float?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T> kotlin.Array<out T>.minWith(comparator: kotlin.Comparator<in T>): T?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.BooleanArray.minWith(comparator: kotlin.Comparator<in kotlin.Boolean>): kotlin.Boolean?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ByteArray.minWith(comparator: kotlin.Comparator<in kotlin.Byte>): kotlin.Byte?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharArray.minWith(comparator: kotlin.Comparator<in kotlin.Char>): kotlin.Char?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.DoubleArray.minWith(comparator: kotlin.Comparator<in kotlin.Double>): kotlin.Double?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.FloatArray.minWith(comparator: kotlin.Comparator<in kotlin.Float>): kotlin.Float?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.IntArray.minWith(comparator: kotlin.Comparator<in kotlin.Int>): kotlin.Int?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.LongArray.minWith(comparator: kotlin.Comparator<in kotlin.Long>): kotlin.Long?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.ShortArray.minWith(comparator: kotlin.Comparator<in kotlin.Short>): kotlin.Short?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UByteArray.minWith(comparator: kotlin.Comparator<in kotlin.UByte>): kotlin.UByte?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UIntArray.minWith(comparator: kotlin.Comparator<in kotlin.UInt>): kotlin.UInt?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.ULongArray.minWith(comparator: kotlin.Comparator<in kotlin.ULong>): kotlin.ULong?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.3")
@kotlin.ExperimentalUnsignedTypes
public fun kotlin.UShortArray.minWith(comparator: kotlin.Comparator<in kotlin.UShort>): kotlin.UShort?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T> kotlin.collections.Iterable<T>.minWith(comparator: kotlin.Comparator<in T>): T?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <K, V> kotlin.collections.Map<out K, V>.minWith(comparator: kotlin.Comparator<in kotlin.collections.Map.Entry<K, V>>): kotlin.collections.Map.Entry<K, V>?
@kotlin.SinceKotlin(version = "1.4")
+10 -10
View File
@@ -254,21 +254,21 @@ public inline fun <T, R : kotlin.Any, C : kotlin.collections.MutableCollection<i
public inline fun <T, R, C : kotlin.collections.MutableCollection<in R>> kotlin.sequences.Sequence<T>.mapTo(destination: C, transform: (T) -> R): C
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T : kotlin.Comparable<T>> kotlin.sequences.Sequence<T>.max(): T?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.sequences.Sequence<kotlin.Double>.max(): kotlin.Double?
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.sequences.Sequence<kotlin.Float>.max(): kotlin.Float?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <T, R : kotlin.Comparable<R>> kotlin.sequences.Sequence<T>.maxBy(selector: (T) -> R): T?
@kotlin.SinceKotlin(version = "1.4")
@@ -324,28 +324,28 @@ public fun kotlin.sequences.Sequence<kotlin.Double>.maxOrNull(): kotlin.Double?
public fun kotlin.sequences.Sequence<kotlin.Float>.maxOrNull(): kotlin.Float?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T> kotlin.sequences.Sequence<T>.maxWith(comparator: kotlin.Comparator<in T>): T?
@kotlin.SinceKotlin(version = "1.4")
public fun <T> kotlin.sequences.Sequence<T>.maxWithOrNull(comparator: kotlin.Comparator<in T>): T?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T : kotlin.Comparable<T>> kotlin.sequences.Sequence<T>.min(): T?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.sequences.Sequence<kotlin.Double>.min(): kotlin.Double?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
@kotlin.SinceKotlin(version = "1.1")
public fun kotlin.sequences.Sequence<kotlin.Float>.min(): kotlin.Float?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <T, R : kotlin.Comparable<R>> kotlin.sequences.Sequence<T>.minBy(selector: (T) -> R): T?
@kotlin.SinceKotlin(version = "1.4")
@@ -401,7 +401,7 @@ public fun kotlin.sequences.Sequence<kotlin.Double>.minOrNull(): kotlin.Double?
public fun kotlin.sequences.Sequence<kotlin.Float>.minOrNull(): kotlin.Float?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun <T> kotlin.sequences.Sequence<T>.minWith(comparator: kotlin.Comparator<in T>): T?
@kotlin.SinceKotlin(version = "1.4")
+6 -6
View File
@@ -489,11 +489,11 @@ public inline infix fun kotlin.CharSequence.matches(regex: kotlin.text.Regex): k
public fun kotlin.String.matches(regex: kotlin.String): kotlin.Boolean
@kotlin.Deprecated(message = "Use maxOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharSequence.max(): kotlin.Char?
@kotlin.Deprecated(message = "Use maxByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.CharSequence.maxBy(selector: (kotlin.Char) -> R): kotlin.Char?
@kotlin.SinceKotlin(version = "1.4")
@@ -543,18 +543,18 @@ public inline fun <R> kotlin.CharSequence.maxOfWithOrNull(comparator: kotlin.Com
public fun kotlin.CharSequence.maxOrNull(): kotlin.Char?
@kotlin.Deprecated(message = "Use maxWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.maxWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharSequence.maxWith(comparator: kotlin.Comparator<in kotlin.Char>): kotlin.Char?
@kotlin.SinceKotlin(version = "1.4")
public fun kotlin.CharSequence.maxWithOrNull(comparator: kotlin.Comparator<in kotlin.Char>): kotlin.Char?
@kotlin.Deprecated(message = "Use minOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minOrNull()", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharSequence.min(): kotlin.Char?
@kotlin.Deprecated(message = "Use minByOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minByOrNull(selector)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public inline fun <R : kotlin.Comparable<R>> kotlin.CharSequence.minBy(selector: (kotlin.Char) -> R): kotlin.Char?
@kotlin.SinceKotlin(version = "1.4")
@@ -604,7 +604,7 @@ public inline fun <R> kotlin.CharSequence.minOfWithOrNull(comparator: kotlin.Com
public fun kotlin.CharSequence.minOrNull(): kotlin.Char?
@kotlin.Deprecated(message = "Use minWithOrNull instead.", replaceWith = kotlin.ReplaceWith(expression = "this.minWithOrNull(comparator)", imports = {}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.4")
@kotlin.DeprecatedSinceKotlin(errorSince = "1.5", warningSince = "1.4")
public fun kotlin.CharSequence.minWith(comparator: kotlin.Comparator<in kotlin.Char>): kotlin.Char?
@kotlin.SinceKotlin(version = "1.4")
@@ -13683,117 +13683,117 @@ public inline fun CharArray.forEachIndexed(action: (index: Int, Char) -> Unit):
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.1")
public fun Array<out Double>.max(): Double? {
return maxOrNull()
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.1")
public fun Array<out Float>.max(): Float? {
return maxOrNull()
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun <T : Comparable<T>> Array<out T>.max(): T? {
return maxOrNull()
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun ByteArray.max(): Byte? {
return maxOrNull()
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun ShortArray.max(): Short? {
return maxOrNull()
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun IntArray.max(): Int? {
return maxOrNull()
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun LongArray.max(): Long? {
return maxOrNull()
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun FloatArray.max(): Float? {
return maxOrNull()
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun DoubleArray.max(): Double? {
return maxOrNull()
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun CharArray.max(): Char? {
return maxOrNull()
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <T, R : Comparable<R>> Array<out T>.maxBy(selector: (T) -> R): T? {
return maxByOrNull(selector)
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> ByteArray.maxBy(selector: (Byte) -> R): Byte? {
return maxByOrNull(selector)
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> ShortArray.maxBy(selector: (Short) -> R): Short? {
return maxByOrNull(selector)
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> IntArray.maxBy(selector: (Int) -> R): Int? {
return maxByOrNull(selector)
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> LongArray.maxBy(selector: (Long) -> R): Long? {
return maxByOrNull(selector)
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> FloatArray.maxBy(selector: (Float) -> R): Float? {
return maxByOrNull(selector)
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> DoubleArray.maxBy(selector: (Double) -> R): Double? {
return maxByOrNull(selector)
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> BooleanArray.maxBy(selector: (Boolean) -> R): Boolean? {
return maxByOrNull(selector)
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> CharArray.maxBy(selector: (Char) -> R): Char? {
return maxByOrNull(selector)
}
@@ -15666,55 +15666,55 @@ public fun CharArray.maxOrNull(): Char? {
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun <T> Array<out T>.maxWith(comparator: Comparator<in T>): T? {
return maxWithOrNull(comparator)
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun ByteArray.maxWith(comparator: Comparator<in Byte>): Byte? {
return maxWithOrNull(comparator)
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun ShortArray.maxWith(comparator: Comparator<in Short>): Short? {
return maxWithOrNull(comparator)
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun IntArray.maxWith(comparator: Comparator<in Int>): Int? {
return maxWithOrNull(comparator)
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun LongArray.maxWith(comparator: Comparator<in Long>): Long? {
return maxWithOrNull(comparator)
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun FloatArray.maxWith(comparator: Comparator<in Float>): Float? {
return maxWithOrNull(comparator)
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun DoubleArray.maxWith(comparator: Comparator<in Double>): Double? {
return maxWithOrNull(comparator)
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun BooleanArray.maxWith(comparator: Comparator<in Boolean>): Boolean? {
return maxWithOrNull(comparator)
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun CharArray.maxWith(comparator: Comparator<in Char>): Char? {
return maxWithOrNull(comparator)
}
@@ -15846,117 +15846,117 @@ public fun CharArray.maxWithOrNull(comparator: Comparator<in Char>): Char? {
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.1")
public fun Array<out Double>.min(): Double? {
return minOrNull()
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.1")
public fun Array<out Float>.min(): Float? {
return minOrNull()
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun <T : Comparable<T>> Array<out T>.min(): T? {
return minOrNull()
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun ByteArray.min(): Byte? {
return minOrNull()
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun ShortArray.min(): Short? {
return minOrNull()
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun IntArray.min(): Int? {
return minOrNull()
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun LongArray.min(): Long? {
return minOrNull()
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun FloatArray.min(): Float? {
return minOrNull()
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun DoubleArray.min(): Double? {
return minOrNull()
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun CharArray.min(): Char? {
return minOrNull()
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <T, R : Comparable<R>> Array<out T>.minBy(selector: (T) -> R): T? {
return minByOrNull(selector)
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> ByteArray.minBy(selector: (Byte) -> R): Byte? {
return minByOrNull(selector)
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> ShortArray.minBy(selector: (Short) -> R): Short? {
return minByOrNull(selector)
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> IntArray.minBy(selector: (Int) -> R): Int? {
return minByOrNull(selector)
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> LongArray.minBy(selector: (Long) -> R): Long? {
return minByOrNull(selector)
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> FloatArray.minBy(selector: (Float) -> R): Float? {
return minByOrNull(selector)
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> DoubleArray.minBy(selector: (Double) -> R): Double? {
return minByOrNull(selector)
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> BooleanArray.minBy(selector: (Boolean) -> R): Boolean? {
return minByOrNull(selector)
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> CharArray.minBy(selector: (Char) -> R): Char? {
return minByOrNull(selector)
}
@@ -17829,55 +17829,55 @@ public fun CharArray.minOrNull(): Char? {
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun <T> Array<out T>.minWith(comparator: Comparator<in T>): T? {
return minWithOrNull(comparator)
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun ByteArray.minWith(comparator: Comparator<in Byte>): Byte? {
return minWithOrNull(comparator)
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun ShortArray.minWith(comparator: Comparator<in Short>): Short? {
return minWithOrNull(comparator)
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun IntArray.minWith(comparator: Comparator<in Int>): Int? {
return minWithOrNull(comparator)
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun LongArray.minWith(comparator: Comparator<in Long>): Long? {
return minWithOrNull(comparator)
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun FloatArray.minWith(comparator: Comparator<in Float>): Float? {
return minWithOrNull(comparator)
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun DoubleArray.minWith(comparator: Comparator<in Double>): Double? {
return minWithOrNull(comparator)
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun BooleanArray.minWith(comparator: Comparator<in Boolean>): Boolean? {
return minWithOrNull(comparator)
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun CharArray.minWith(comparator: Comparator<in Char>): Char? {
return minWithOrNull(comparator)
}
@@ -1860,27 +1860,27 @@ public inline fun <T> Iterable<T>.forEachIndexed(action: (index: Int, T) -> Unit
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.1")
public fun Iterable<Double>.max(): Double? {
return maxOrNull()
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.1")
public fun Iterable<Float>.max(): Float? {
return maxOrNull()
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun <T : Comparable<T>> Iterable<T>.max(): T? {
return maxOrNull()
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <T, R : Comparable<R>> Iterable<T>.maxBy(selector: (T) -> R): T? {
return maxByOrNull(selector)
}
@@ -2134,7 +2134,7 @@ public fun <T : Comparable<T>> Iterable<T>.maxOrNull(): T? {
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun <T> Iterable<T>.maxWith(comparator: Comparator<in T>): T? {
return maxWithOrNull(comparator)
}
@@ -2155,27 +2155,27 @@ public fun <T> Iterable<T>.maxWithOrNull(comparator: Comparator<in T>): T? {
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.1")
public fun Iterable<Double>.min(): Double? {
return minOrNull()
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.1")
public fun Iterable<Float>.min(): Float? {
return minOrNull()
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun <T : Comparable<T>> Iterable<T>.min(): T? {
return minOrNull()
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <T, R : Comparable<R>> Iterable<T>.minBy(selector: (T) -> R): T? {
return minByOrNull(selector)
}
@@ -2429,7 +2429,7 @@ public fun <T : Comparable<T>> Iterable<T>.minOrNull(): T? {
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun <T> Iterable<T>.minWith(comparator: Comparator<in T>): T? {
return minWithOrNull(comparator)
}
@@ -212,7 +212,7 @@ public inline fun <K, V> Map<out K, V>.forEach(action: (Map.Entry<K, V>) -> Unit
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@kotlin.internal.InlineOnly
public inline fun <K, V, R : Comparable<R>> Map<out K, V>.maxBy(selector: (Map.Entry<K, V>) -> R): Map.Entry<K, V>? {
return maxByOrNull(selector)
@@ -342,7 +342,7 @@ public inline fun <K, V, R> Map<out K, V>.maxOfWithOrNull(comparator: Comparator
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@kotlin.internal.InlineOnly
public inline fun <K, V> Map<out K, V>.maxWith(comparator: Comparator<in Map.Entry<K, V>>): Map.Entry<K, V>? {
return maxWithOrNull(comparator)
@@ -358,7 +358,7 @@ public inline fun <K, V> Map<out K, V>.maxWithOrNull(comparator: Comparator<in M
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <K, V, R : Comparable<R>> Map<out K, V>.minBy(selector: (Map.Entry<K, V>) -> R): Map.Entry<K, V>? {
return minByOrNull(selector)
}
@@ -487,7 +487,7 @@ public inline fun <K, V, R> Map<out K, V>.minOfWithOrNull(comparator: Comparator
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun <K, V> Map<out K, V>.minWith(comparator: Comparator<in Map.Entry<K, V>>): Map.Entry<K, V>? {
return minWithOrNull(comparator)
}
@@ -1303,27 +1303,27 @@ public inline fun <T> Sequence<T>.forEachIndexed(action: (index: Int, T) -> Unit
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.1")
public fun Sequence<Double>.max(): Double? {
return maxOrNull()
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.1")
public fun Sequence<Float>.max(): Float? {
return maxOrNull()
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun <T : Comparable<T>> Sequence<T>.max(): T? {
return maxOrNull()
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <T, R : Comparable<R>> Sequence<T>.maxBy(selector: (T) -> R): T? {
return maxByOrNull(selector)
}
@@ -1601,7 +1601,7 @@ public fun <T : Comparable<T>> Sequence<T>.maxOrNull(): T? {
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun <T> Sequence<T>.maxWith(comparator: Comparator<in T>): T? {
return maxWithOrNull(comparator)
}
@@ -1624,27 +1624,27 @@ public fun <T> Sequence<T>.maxWithOrNull(comparator: Comparator<in T>): T? {
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.1")
public fun Sequence<Double>.min(): Double? {
return minOrNull()
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.1")
public fun Sequence<Float>.min(): Float? {
return minOrNull()
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun <T : Comparable<T>> Sequence<T>.min(): T? {
return minOrNull()
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <T, R : Comparable<R>> Sequence<T>.minBy(selector: (T) -> R): T? {
return minByOrNull(selector)
}
@@ -1922,7 +1922,7 @@ public fun <T : Comparable<T>> Sequence<T>.minOrNull(): T? {
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun <T> Sequence<T>.minWith(comparator: Comparator<in T>): T? {
return minWithOrNull(comparator)
}
@@ -1180,13 +1180,13 @@ public inline fun CharSequence.forEachIndexed(action: (index: Int, Char) -> Unit
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun CharSequence.max(): Char? {
return maxOrNull()
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> CharSequence.maxBy(selector: (Char) -> R): Char? {
return maxByOrNull(selector)
}
@@ -1397,7 +1397,7 @@ public fun CharSequence.maxOrNull(): Char? {
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun CharSequence.maxWith(comparator: Comparator<in Char>): Char? {
return maxWithOrNull(comparator)
}
@@ -1417,13 +1417,13 @@ public fun CharSequence.maxWithOrNull(comparator: Comparator<in Char>): Char? {
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun CharSequence.min(): Char? {
return minOrNull()
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public inline fun <R : Comparable<R>> CharSequence.minBy(selector: (Char) -> R): Char? {
return minByOrNull(selector)
}
@@ -1634,7 +1634,7 @@ public fun CharSequence.minOrNull(): Char? {
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun CharSequence.minWith(comparator: Comparator<in Char>): Char? {
return minWithOrNull(comparator)
}
@@ -5943,7 +5943,7 @@ public inline fun UShortArray.forEachIndexed(action: (index: Int, UShort) -> Uni
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun UIntArray.max(): UInt? {
@@ -5951,7 +5951,7 @@ public fun UIntArray.max(): UInt? {
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun ULongArray.max(): ULong? {
@@ -5959,7 +5959,7 @@ public fun ULongArray.max(): ULong? {
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun UByteArray.max(): UByte? {
@@ -5967,7 +5967,7 @@ public fun UByteArray.max(): UByte? {
}
@Deprecated("Use maxOrNull instead.", ReplaceWith("this.maxOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun UShortArray.max(): UShort? {
@@ -5975,7 +5975,7 @@ public fun UShortArray.max(): UShort? {
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
@@ -5984,7 +5984,7 @@ public inline fun <R : Comparable<R>> UIntArray.maxBy(selector: (UInt) -> R): UI
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
@@ -5993,7 +5993,7 @@ public inline fun <R : Comparable<R>> ULongArray.maxBy(selector: (ULong) -> R):
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
@@ -6002,7 +6002,7 @@ public inline fun <R : Comparable<R>> UByteArray.maxBy(selector: (UByte) -> R):
}
@Deprecated("Use maxByOrNull instead.", ReplaceWith("this.maxByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
@@ -6875,7 +6875,7 @@ public fun UShortArray.maxOrNull(): UShort? {
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun UIntArray.maxWith(comparator: Comparator<in UInt>): UInt? {
@@ -6883,7 +6883,7 @@ public fun UIntArray.maxWith(comparator: Comparator<in UInt>): UInt? {
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun ULongArray.maxWith(comparator: Comparator<in ULong>): ULong? {
@@ -6891,7 +6891,7 @@ public fun ULongArray.maxWith(comparator: Comparator<in ULong>): ULong? {
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun UByteArray.maxWith(comparator: Comparator<in UByte>): UByte? {
@@ -6899,7 +6899,7 @@ public fun UByteArray.maxWith(comparator: Comparator<in UByte>): UByte? {
}
@Deprecated("Use maxWithOrNull instead.", ReplaceWith("this.maxWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun UShortArray.maxWith(comparator: Comparator<in UShort>): UShort? {
@@ -6967,7 +6967,7 @@ public fun UShortArray.maxWithOrNull(comparator: Comparator<in UShort>): UShort?
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun UIntArray.min(): UInt? {
@@ -6975,7 +6975,7 @@ public fun UIntArray.min(): UInt? {
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun ULongArray.min(): ULong? {
@@ -6983,7 +6983,7 @@ public fun ULongArray.min(): ULong? {
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun UByteArray.min(): UByte? {
@@ -6991,7 +6991,7 @@ public fun UByteArray.min(): UByte? {
}
@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun UShortArray.min(): UShort? {
@@ -6999,7 +6999,7 @@ public fun UShortArray.min(): UShort? {
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
@@ -7008,7 +7008,7 @@ public inline fun <R : Comparable<R>> UIntArray.minBy(selector: (UInt) -> R): UI
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
@@ -7017,7 +7017,7 @@ public inline fun <R : Comparable<R>> ULongArray.minBy(selector: (ULong) -> R):
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
@@ -7026,7 +7026,7 @@ public inline fun <R : Comparable<R>> UByteArray.minBy(selector: (UByte) -> R):
}
@Deprecated("Use minByOrNull instead.", ReplaceWith("this.minByOrNull(selector)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
@kotlin.internal.InlineOnly
@@ -7899,7 +7899,7 @@ public fun UShortArray.minOrNull(): UShort? {
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun UIntArray.minWith(comparator: Comparator<in UInt>): UInt? {
@@ -7907,7 +7907,7 @@ public fun UIntArray.minWith(comparator: Comparator<in UInt>): UInt? {
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun ULongArray.minWith(comparator: Comparator<in ULong>): ULong? {
@@ -7915,7 +7915,7 @@ public fun ULongArray.minWith(comparator: Comparator<in ULong>): ULong? {
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun UByteArray.minWith(comparator: Comparator<in UByte>): UByte? {
@@ -7923,7 +7923,7 @@ public fun UByteArray.minWith(comparator: Comparator<in UByte>): UByte? {
}
@Deprecated("Use minWithOrNull instead.", ReplaceWith("this.minWithOrNull(comparator)"))
@DeprecatedSinceKotlin(warningSince = "1.4")
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
@SinceKotlin("1.3")
@ExperimentalUnsignedTypes
public fun UShortArray.minWith(comparator: Comparator<in UShort>): UShort? {
@@ -326,7 +326,7 @@ object Aggregates : TemplateGroupBase() {
val isFloat = primitive?.isFloatingPoint() == true
if (!nullable) {
deprecate(Deprecation("Use ${op}OrNull instead.", "this.${op}OrNull()", DeprecationLevel.WARNING, warningSince = "1.4"))
deprecate(Deprecation("Use ${op}OrNull instead.", "this.${op}OrNull()", warningSince = "1.4", errorSince = "1.5"))
val isGeneric = f in listOf(Iterables, Sequences, ArraysOfObjects)
if (isFloat && isGeneric) {
@@ -393,7 +393,7 @@ object Aggregates : TemplateGroupBase() {
returns("T?")
if (!nullable) {
deprecate(Deprecation("Use ${op}OrNull instead.", "this.${op}OrNull(selector)", DeprecationLevel.WARNING, warningSince = "1.4"))
deprecate(Deprecation("Use ${op}OrNull instead.", "this.${op}OrNull(selector)", warningSince = "1.4", errorSince = "1.5"))
body { "return ${op}OrNull(selector)" }
return@builder
}
@@ -460,7 +460,7 @@ object Aggregates : TemplateGroupBase() {
returns("T?")
if (!nullable) {
deprecate(Deprecation("Use ${op}OrNull instead.", "this.${op}OrNull(comparator)", DeprecationLevel.WARNING, warningSince = "1.4"))
deprecate(Deprecation("Use ${op}OrNull instead.", "this.${op}OrNull(comparator)", warningSince = "1.4", errorSince = "1.5"))
body { "return ${op}OrNull(comparator)" }
return@builder
}
@@ -93,7 +93,7 @@ class JKResolver(val project: Project, module: Module?, private val contextEleme
when {
typeAliasesPsi.isEmpty() -> classesPsi.firstOrNull()
classesPsi.isEmpty() -> typeAliasesPsi.firstOrNull()
else -> (classesPsi.asSequence() + typeAliasesPsi.asSequence()).minWith(Comparator { o1, o2 ->
else -> (classesPsi.asSequence() + typeAliasesPsi.asSequence()).minWithOrNull(Comparator { o1, o2 ->
scope.compare(o1.containingFile.virtualFile, o2.containingFile.virtualFile)
})
}