inline fun <T> Array<out T>.minOf( selector: (T) -> Double ): Double
inline fun ByteArray.minOf( selector: (Byte) -> Double ): Double
inline fun ShortArray.minOf( selector: (Short) -> Double ): Double
inline fun IntArray.minOf(selector: (Int) -> Double): Double
inline fun LongArray.minOf( selector: (Long) -> Double ): Double
inline fun FloatArray.minOf( selector: (Float) -> Double ): Double
inline fun DoubleArray.minOf( selector: (Double) -> Double ): Double
inline fun BooleanArray.minOf( selector: (Boolean) -> Double ): Double
inline fun CharArray.minOf( selector: (Char) -> Double ): Double
inline fun <T> Array<out T>.minOf( selector: (T) -> Float ): Float
inline fun ByteArray.minOf(selector: (Byte) -> Float): Float
inline fun ShortArray.minOf( selector: (Short) -> Float ): Float
inline fun IntArray.minOf(selector: (Int) -> Float): Float
inline fun LongArray.minOf(selector: (Long) -> Float): Float
inline fun FloatArray.minOf( selector: (Float) -> Float ): Float
inline fun DoubleArray.minOf( selector: (Double) -> Float ): Float
inline fun BooleanArray.minOf( selector: (Boolean) -> Float ): Float
inline fun CharArray.minOf(selector: (Char) -> Float): Float
@ExperimentalUnsignedTypes inline fun UIntArray.minOf( selector: (UInt) -> Double ): Double
@ExperimentalUnsignedTypes inline fun ULongArray.minOf( selector: (ULong) -> Double ): Double
@ExperimentalUnsignedTypes inline fun UByteArray.minOf( selector: (UByte) -> Double ): Double
@ExperimentalUnsignedTypes inline fun UShortArray.minOf( selector: (UShort) -> Double ): Double
@ExperimentalUnsignedTypes inline fun UIntArray.minOf( selector: (UInt) -> Float ): Float
@ExperimentalUnsignedTypes inline fun ULongArray.minOf( selector: (ULong) -> Float ): Float
@ExperimentalUnsignedTypes inline fun UByteArray.minOf( selector: (UByte) -> Float ): Float
@ExperimentalUnsignedTypes inline fun UShortArray.minOf( selector: (UShort) -> Float ): Float
inline fun <T, R : Comparable<R>> Array<out T>.minOf( selector: (T) -> R ): R
inline fun <R : Comparable<R>> ByteArray.minOf( selector: (Byte) -> R ): R
inline fun <R : Comparable<R>> ShortArray.minOf( selector: (Short) -> R ): R
inline fun <R : Comparable<R>> IntArray.minOf( selector: (Int) -> R ): R
inline fun <R : Comparable<R>> LongArray.minOf( selector: (Long) -> R ): R
inline fun <R : Comparable<R>> FloatArray.minOf( selector: (Float) -> R ): R
inline fun <R : Comparable<R>> DoubleArray.minOf( selector: (Double) -> R ): R
inline fun <R : Comparable<R>> BooleanArray.minOf( selector: (Boolean) -> R ): R
inline fun <R : Comparable<R>> CharArray.minOf( selector: (Char) -> R ): R
@ExperimentalUnsignedTypes inline fun <R : Comparable<R>> UIntArray.minOf( selector: (UInt) -> R ): R
@ExperimentalUnsignedTypes inline fun <R : Comparable<R>> ULongArray.minOf( selector: (ULong) -> R ): R
@ExperimentalUnsignedTypes inline fun <R : Comparable<R>> UByteArray.minOf( selector: (UByte) -> R ): R
@ExperimentalUnsignedTypes inline fun <R : Comparable<R>> UShortArray.minOf( selector: (UShort) -> R ): R
Returns the smallest value among all values produced by selector function applied to each element in the array.
NoSuchElementException
- if the array is empty.
inline fun <T> Iterable<T>.minOf( selector: (T) -> Double ): Double
inline fun <T> Iterable<T>.minOf( selector: (T) -> Float ): Float
inline fun <T, R : Comparable<R>> Iterable<T>.minOf( selector: (T) -> R ): R
Returns the smallest value among all values produced by selector function applied to each element in the collection.
NoSuchElementException
- if the collection is empty.
inline fun <K, V> Map<out K, V>.minOf( selector: (Entry<K, V>) -> Double ): Double
inline fun <K, V> Map<out K, V>.minOf( selector: (Entry<K, V>) -> Float ): Float
inline fun <K, V, R : Comparable<R>> Map<out K, V>.minOf( selector: (Entry<K, V>) -> R ): R
Returns the smallest value among all values produced by selector function applied to each entry in the map.
NoSuchElementException
- if the map is empty.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/min-of.html