maxBy
@JvmName("maxByOrThrow") inline fun <T, R : Comparable<R>> Array<out T>.maxBy(
selector: (T) -> R
): T
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") inline fun <T, R : Comparable<R>> Array<out T>.maxBy(
selector: (T) -> R
): T?
(source)
@JvmName("maxByOrThrow") inline fun <R : Comparable<R>> ByteArray.maxBy(
selector: (Byte) -> R
): Byte
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") inline fun <R : Comparable<R>> ByteArray.maxBy(
selector: (Byte) -> R
): Byte?
(source)
@JvmName("maxByOrThrow") inline fun <R : Comparable<R>> ShortArray.maxBy(
selector: (Short) -> R
): Short
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") inline fun <R : Comparable<R>> ShortArray.maxBy(
selector: (Short) -> R
): Short?
(source)
@JvmName("maxByOrThrow") inline fun <R : Comparable<R>> IntArray.maxBy(
selector: (Int) -> R
): Int
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") inline fun <R : Comparable<R>> IntArray.maxBy(
selector: (Int) -> R
): Int?
(source)
@JvmName("maxByOrThrow") inline fun <R : Comparable<R>> LongArray.maxBy(
selector: (Long) -> R
): Long
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") inline fun <R : Comparable<R>> LongArray.maxBy(
selector: (Long) -> R
): Long?
(source)
@JvmName("maxByOrThrow") inline fun <R : Comparable<R>> FloatArray.maxBy(
selector: (Float) -> R
): Float
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") inline fun <R : Comparable<R>> FloatArray.maxBy(
selector: (Float) -> R
): Float?
(source)
@JvmName("maxByOrThrow") inline fun <R : Comparable<R>> DoubleArray.maxBy(
selector: (Double) -> R
): Double
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") inline fun <R : Comparable<R>> DoubleArray.maxBy(
selector: (Double) -> R
): Double?
(source)
@JvmName("maxByOrThrow") inline fun <R : Comparable<R>> BooleanArray.maxBy(
selector: (Boolean) -> R
): Boolean
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") inline fun <R : Comparable<R>> BooleanArray.maxBy(
selector: (Boolean) -> R
): Boolean?
(source)
@JvmName("maxByOrThrow") inline fun <R : Comparable<R>> CharArray.maxBy(
selector: (Char) -> R
): Char
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") inline fun <R : Comparable<R>> CharArray.maxBy(
selector: (Char) -> R
): Char?
(source)
@JvmName("maxByOrThrow-U") @ExperimentalUnsignedTypes inline fun <R : Comparable<R>> UIntArray.maxBy(
selector: (UInt) -> R
): UInt
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") @ExperimentalUnsignedTypes inline fun <R : Comparable<R>> UIntArray.maxBy(
selector: (UInt) -> R
): UInt?
(source)
@JvmName("maxByOrThrow-U") @ExperimentalUnsignedTypes inline fun <R : Comparable<R>> ULongArray.maxBy(
selector: (ULong) -> R
): ULong
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") @ExperimentalUnsignedTypes inline fun <R : Comparable<R>> ULongArray.maxBy(
selector: (ULong) -> R
): ULong?
(source)
@JvmName("maxByOrThrow-U") @ExperimentalUnsignedTypes inline fun <R : Comparable<R>> UByteArray.maxBy(
selector: (UByte) -> R
): UByte
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") @ExperimentalUnsignedTypes inline fun <R : Comparable<R>> UByteArray.maxBy(
selector: (UByte) -> R
): UByte?
(source)
@JvmName("maxByOrThrow-U") @ExperimentalUnsignedTypes inline fun <R : Comparable<R>> UShortArray.maxBy(
selector: (UShort) -> R
): UShort
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") @ExperimentalUnsignedTypes inline fun <R : Comparable<R>> UShortArray.maxBy(
selector: (UShort) -> R
): UShort?
(source)
@JvmName("maxByOrThrow") inline fun <T, R : Comparable<R>> Iterable<T>.maxBy(
selector: (T) -> R
): T
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") inline fun <T, R : Comparable<R>> Iterable<T>.maxBy(
selector: (T) -> R
): T?
(source)
@JvmName("maxByOrThrow") inline fun <K, V, R : Comparable<R>> Map<out K, V>.maxBy(
selector: (Entry<K, V>) -> R
): Entry<K, V>
(source)
@DeprecatedSinceKotlin("1.4", "1.5", "1.6") inline fun <K, V, R : Comparable<R>> Map<out K, V>.maxBy(
selector: (Entry<K, V>) -> R
): Entry<K, V>?
(source)