minWith
@JvmName("minWithOrThrow") fun DoubleArray.minWith(
comparator: Comparator<in Double>
): Double
(source)
@JvmName("minWithOrThrow") fun BooleanArray.minWith(
comparator: Comparator<in Boolean>
): Boolean
(source)
@JvmName("minWithOrThrow-U") @ExperimentalUnsignedTypes fun UIntArray.minWith(
comparator: Comparator<in UInt>
): UInt
(source)
@JvmName("minWithOrThrow-U") @ExperimentalUnsignedTypes fun ULongArray.minWith(
comparator: Comparator<in ULong>
): ULong
(source)
@JvmName("minWithOrThrow-U") @ExperimentalUnsignedTypes fun UByteArray.minWith(
comparator: Comparator<in UByte>
): UByte
(source)
@JvmName("minWithOrThrow-U") @ExperimentalUnsignedTypes fun UShortArray.minWith(
comparator: Comparator<in UShort>
): UShort
(source)
Returns the first element having the smallest value according to the provided comparator.
Exceptions
Returns the first element having the smallest value according to the provided comparator.
Exceptions
@JvmName("minWithOrThrow") fun <K, V> Map<out K, V>.minWith(
comparator: Comparator<in Entry<K, V>>
): Entry<K, V>
(source)
Returns the first entry having the smallest value according to the provided comparator.
Exceptions
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun <T> Array<out T>.minWith(
comparator: Comparator<in T>
): T?
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun ByteArray.minWith(
comparator: Comparator<in Byte>
): Byte?
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun ShortArray.minWith(
comparator: Comparator<in Short>
): Short?
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun IntArray.minWith(
comparator: Comparator<in Int>
): Int?
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun LongArray.minWith(
comparator: Comparator<in Long>
): Long?
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun FloatArray.minWith(
comparator: Comparator<in Float>
): Float?
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun DoubleArray.minWith(
comparator: Comparator<in Double>
): Double?
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun BooleanArray.minWith(
comparator: Comparator<in Boolean>
): Boolean?
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun CharArray.minWith(
comparator: Comparator<in Char>
): Char?
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun <T> Iterable<T>.minWith(
comparator: Comparator<in T>
): T?
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") fun <K, V> Map<out K, V>.minWith(
comparator: Comparator<in Entry<K, V>>
): Entry<K, V>?
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") @ExperimentalUnsignedTypes fun UIntArray.minWith(
comparator: Comparator<in UInt>
): UInt?
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") @ExperimentalUnsignedTypes fun ULongArray.minWith(
comparator: Comparator<in ULong>
): ULong?
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") @ExperimentalUnsignedTypes fun UByteArray.minWith(
comparator: Comparator<in UByte>
): UByte?
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") @ExperimentalUnsignedTypes fun UShortArray.minWith(
comparator: Comparator<in UShort>
): UShort?
(source)