stdlib
1.2
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
JVM
stdlib
/
kotlin.sequences
/
maxWith
max
With
JVM
fun
<
T
>
Sequence
<
T
>
.
maxWith
(
comparator
:
Comparator
<
in
T
>
)
:
T
?
(
source
)
Deprecated
Use maxWithOrNull instead.
Replace with
this.maxWithOrNull(comparator)
Content copied to clipboard
Since Kotlin
1.0