maxWith

Common
JVM
JS
Native
1.0
@DeprecatedSinceKotlin("1.4", "1.5") fun <T> Array<out T>.maxWith(
    comparator: Comparator<in T>
): T?
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun ByteArray.maxWith(
    comparator: Comparator<in Byte>
): Byte?
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun ShortArray.maxWith(
    comparator: Comparator<in Short>
): Short?
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun IntArray.maxWith(
    comparator: Comparator<in Int>
): Int?
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun LongArray.maxWith(
    comparator: Comparator<in Long>
): Long?
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun FloatArray.maxWith(
    comparator: Comparator<in Float>
): Float?
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun DoubleArray.maxWith(
    comparator: Comparator<in Double>
): Double?
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun BooleanArray.maxWith(
    comparator: Comparator<in Boolean>
): Boolean?
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun CharArray.maxWith(
    comparator: Comparator<in Char>
): Char?
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun <T> Iterable<T>.maxWith(
    comparator: Comparator<in T>
): T?
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") fun <K, V> Map<out K, V>.maxWith(
    comparator: Comparator<in Entry<K, V>>
): Entry<K, V>?
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") @ExperimentalUnsignedTypes fun UIntArray.maxWith(
    comparator: Comparator<in UInt>
): UInt?
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") @ExperimentalUnsignedTypes fun ULongArray.maxWith(
    comparator: Comparator<in ULong>
): ULong?
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") @ExperimentalUnsignedTypes fun UByteArray.maxWith(
    comparator: Comparator<in UByte>
): UByte?
Deprecated: Use maxWithOrNull instead.
@DeprecatedSinceKotlin("1.4", "1.5") @ExperimentalUnsignedTypes fun UShortArray.maxWith(
    comparator: Comparator<in UShort>
): UShort?
Deprecated: Use maxWithOrNull instead.