littlekt
0.6.0
common
core
/
com.lehaine.littlekt.util
/
fastForEachWithIndex
fast
For
Each
With
Index
inline
fun
<
T
>
List
<
T
>
.
fastForEachWithIndex
(
callback
:
(
index
:
Int
,
value
:
T
)
->
Unit
)
inline
fun
<
T
>
Array
<
T
>
.
fastForEachWithIndex
(
callback
:
(
index
:
Int
,
value
:
T
)
->
Unit
)
inline
fun
IntArrayList
.
fastForEachWithIndex
(
callback
:
(
index
:
Int
,
value
:
Int
)
->
Unit
)
inline
fun
FloatArrayList
.
fastForEachWithIndex
(
callback
:
(
index
:
Int
,
value
:
Float
)
->
Unit
)
inline
fun
DoubleArrayList
.
fastForEachWithIndex
(
callback
:
(
index
:
Int
,
value
:
Double
)
->
Unit
)