toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.memory
/
arrayfill
arrayfill
fun
arrayfill
(
array
:
Buffer
,
value
:
Int
,
start
:
Int
=
0
,
end
:
Int
=
array.size
)
fun
<
T
>
arrayfill
(
array
:
Array
<
T
>
,
value
:
T
,
start
:
Int
=
0
,
end
:
Int
=
array.size
)
fun
arrayfill
(
array
:
BooleanArray
,
value
:
Boolean
,
start
:
Int
=
0
,
end
:
Int
=
array.size
)
fun
arrayfill
(
array
:
LongArray
,
value
:
Long
,
start
:
Int
=
0
,
end
:
Int
=
array.size
)
fun
arrayfill
(
array
:
ByteArray
,
value
:
Byte
,
start
:
Int
=
0
,
end
:
Int
=
array.size
)
fun
arrayfill
(
array
:
ShortArray
,
value
:
Short
,
start
:
Int
=
0
,
end
:
Int
=
array.size
)
fun
arrayfill
(
array
:
IntArray
,
value
:
Int
,
start
:
Int
=
0
,
end
:
Int
=
array.size
)
fun
arrayfill
(
array
:
FloatArray
,
value
:
Float
,
start
:
Int
=
0
,
end
:
Int
=
array.size
)
fun
arrayfill
(
array
:
DoubleArray
,
value
:
Double
,
start
:
Int
=
0
,
end
:
Int
=
array.size
)
Fills the
array
with the
value
starting a
start
end ending at
end
(end is not inclusive)