fun <K, V> Map<out K, V>.minWith( comparator: Comparator<in Entry<K, V>> ): Entry<K, V>?
Platform and version requirements: JVM
fun <K, V> Map<out K, V>.minWith( comparator: Comparator<in Entry<K, V>> ): Entry<K, V>?
Platform and version requirements: JS
Returns the first entry having the smallest value according to the provided comparator or null
if there are no entries.
fun <T> Array<out T>.minWith( comparator: Comparator<in T> ): T?
Platform and version requirements: JVM
fun ByteArray.minWith(comparator: Comparator<in Byte>): Byte?
Platform and version requirements: JVM
fun ShortArray.minWith( comparator: Comparator<in Short> ): Short?
Platform and version requirements: JVM
fun IntArray.minWith(comparator: Comparator<in Int>): Int?
Platform and version requirements: JVM
fun LongArray.minWith(comparator: Comparator<in Long>): Long?
Platform and version requirements: JVM
fun FloatArray.minWith( comparator: Comparator<in Float> ): Float?
Platform and version requirements: JVM
fun DoubleArray.minWith( comparator: Comparator<in Double> ): Double?
Platform and version requirements: JVM
fun BooleanArray.minWith( comparator: Comparator<in Boolean> ): Boolean?
Platform and version requirements: JVM
fun CharArray.minWith(comparator: Comparator<in Char>): Char?
Platform and version requirements: JVM
fun <T> Iterable<T>.minWith(comparator: Comparator<in T>): T?
Platform and version requirements: JVM
fun <T> Iterable<T>.minWith(comparator: Comparator<in T>): T?
Platform and version requirements: JS
fun <T> Array<out T>.minWith( comparator: Comparator<in T> ): T?
Platform and version requirements: JS
fun ByteArray.minWith(comparator: Comparator<in Byte>): Byte?
Platform and version requirements: JS
fun ShortArray.minWith( comparator: Comparator<in Short> ): Short?
Platform and version requirements: JS
fun IntArray.minWith(comparator: Comparator<in Int>): Int?
Platform and version requirements: JS
fun LongArray.minWith(comparator: Comparator<in Long>): Long?
Platform and version requirements: JS
fun FloatArray.minWith( comparator: Comparator<in Float> ): Float?
Platform and version requirements: JS
fun DoubleArray.minWith( comparator: Comparator<in Double> ): Double?
Platform and version requirements: JS
fun BooleanArray.minWith( comparator: Comparator<in Boolean> ): Boolean?
Platform and version requirements: JS
fun CharArray.minWith(comparator: Comparator<in Char>): Char?
Platform and version requirements: JS
Returns the first element having the smallest value according to the provided comparator or null
if there are no elements.
© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/min-with.html