stdlib
1.0
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
JVM
stdlib
/
kotlin.collections
/
minWith
min
With
JVM
fun
<
T
>
Array
<
out
T
>
.
minWith
(
comparator
:
Comparator
<
in
T
>
)
:
T
?
(
source
)
fun
ByteArray
.
minWith
(
comparator
:
Comparator
<
in
Byte
>
)
:
Byte
?
(
source
)
fun
ShortArray
.
minWith
(
comparator
:
Comparator
<
in
Short
>
)
:
Short
?
(
source
)
fun
IntArray
.
minWith
(
comparator
:
Comparator
<
in
Int
>
)
:
Int
?
(
source
)
fun
LongArray
.
minWith
(
comparator
:
Comparator
<
in
Long
>
)
:
Long
?
(
source
)
fun
FloatArray
.
minWith
(
comparator
:
Comparator
<
in
Float
>
)
:
Float
?
(
source
)
fun
DoubleArray
.
minWith
(
comparator
:
Comparator
<
in
Double
>
)
:
Double
?
(
source
)
fun
BooleanArray
.
minWith
(
comparator
:
Comparator
<
in
Boolean
>
)
:
Boolean
?
(
source
)
fun
CharArray
.
minWith
(
comparator
:
Comparator
<
in
Char
>
)
:
Char
?
(
source
)
fun
<
T
>
Iterable
<
T
>
.
minWith
(
comparator
:
Comparator
<
in
T
>
)
:
T
?
(
source
)
fun
<
K
,
V
>
Map
<
out
K
,
V
>
.
minWith
(
comparator
:
Comparator
<
in
Map.Entry
<
K
,
V
>
>
)
:
Map.Entry
<
K
,
V
>
?
(
source
)
Deprecated
Use minWithOrNull instead.
Replace with
this.minWithOrNull(comparator)
Content copied to clipboard
Since Kotlin
1.0