kotlin-stdlib
Common
kotlin-stdlib
/
kotlin.collections
/
max
max
fun
Array
<
out
Double
>
.
max
(
)
:
Double
?
(
source
)
fun
Array
<
out
Float
>
.
max
(
)
:
Float
?
(
source
)
fun
<
T
:
Comparable
<
T
>
>
Array
<
out
T
>
.
max
(
)
:
T
?
(
source
)
fun
ByteArray
.
max
(
)
:
Byte
?
(
source
)
fun
ShortArray
.
max
(
)
:
Short
?
(
source
)
fun
IntArray
.
max
(
)
:
Int
?
(
source
)
fun
LongArray
.
max
(
)
:
Long
?
(
source
)
fun
FloatArray
.
max
(
)
:
Float
?
(
source
)
fun
DoubleArray
.
max
(
)
:
Double
?
(
source
)
fun
CharArray
.
max
(
)
:
Char
?
(
source
)
fun
Iterable
<
Double
>
.
max
(
)
:
Double
?
(
source
)
fun
Iterable
<
Float
>
.
max
(
)
:
Float
?
(
source
)
fun
<
T
:
Comparable
<
T
>
>
Iterable
<
T
>
.
max
(
)
:
T
?
(
source
)
@
ExperimentalUnsignedTypes
fun
UIntArray
.
max
(
)
:
UInt
?
(
source
)
@
ExperimentalUnsignedTypes
fun
ULongArray
.
max
(
)
:
ULong
?
(
source
)
@
ExperimentalUnsignedTypes
fun
UByteArray
.
max
(
)
:
UByte
?
(
source
)
@
ExperimentalUnsignedTypes
fun
UShortArray
.
max
(
)
:
UShort
?
(
source
)
Deprecated
Warning since 1.4
Error since 1.5
Use maxOrNull instead.
Replace with
this.maxOrNull()
Content copied to clipboard