korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-datastructure
/
korlibs.datastructure.iterators
Package-level
declarations
Functions
Properties
Properties
CONCURRENCY_
COUNT
Link copied to clipboard
val
CONCURRENCY_COUNT
:
Int
Functions
fast
For
Each
Link copied to clipboard
inline
fun
DoubleArrayList
.
fastForEach
(
callback
:
(
Double
)
->
Unit
)
inline
fun
FloatArrayList
.
fastForEach
(
callback
:
(
Float
)
->
Unit
)
inline
fun
IntArrayList
.
fastForEach
(
callback
:
(
Int
)
->
Unit
)
inline
fun
<
T
>
Array
<
T
>
.
fastForEach
(
callback
:
(
T
)
->
Unit
)
inline
fun
DoubleArray
.
fastForEach
(
callback
:
(
Double
)
->
Unit
)
inline
fun
FloatArray
.
fastForEach
(
callback
:
(
Float
)
->
Unit
)
inline
fun
IntArray
.
fastForEach
(
callback
:
(
Int
)
->
Unit
)
inline
fun
<
T
>
List
<
T
>
.
fastForEach
(
callback
:
(
T
)
->
Unit
)
fast
For
Each
Reverse
Link copied to clipboard
inline
fun
<
T
>
List
<
T
>
.
fastForEachReverse
(
callback
:
(
T
)
->
Unit
)
fast
For
Each
With
Index
Link copied to clipboard
inline
fun
DoubleArrayList
.
fastForEachWithIndex
(
callback
:
(
index
:
Int
,
value
:
Double
)
->
Unit
)
inline
fun
FloatArrayList
.
fastForEachWithIndex
(
callback
:
(
index
:
Int
,
value
:
Float
)
->
Unit
)
inline
fun
IntArrayList
.
fastForEachWithIndex
(
callback
:
(
index
:
Int
,
value
:
Int
)
->
Unit
)
inline
fun
<
T
>
Array
<
T
>
.
fastForEachWithIndex
(
callback
:
(
index
:
Int
,
value
:
T
)
->
Unit
)
inline
fun
<
T
>
List
<
T
>
.
fastForEachWithIndex
(
callback
:
(
index
:
Int
,
value
:
T
)
->
Unit
)
fast
For
Each
With
Temp
Link copied to clipboard
inline
fun
<
T
>
FastArrayList
<
T
>
.
fastForEachWithTemp
(
temp
:
FastArrayList
<
T
>
,
callback
:
(
T
)
->
Unit
)
inline
fun
<
T
>
List
<
T
>
.
fastForEachWithTemp
(
temp
:
FastArrayList
<
T
>
,
callback
:
(
T
)
->
Unit
)
fast
Iterate
Remove
Link copied to clipboard
inline
fun
<
T
>
MutableList
<
T
>
.
fastIterateRemove
(
callback
:
(
T
)
->
Boolean
)
:
MutableList
<
T
>
parallel
Foreach
Link copied to clipboard
fun
parallelForeach
(
count
:
Int
,
dispatcher
:
CoroutineDispatcher
=
exec
,
block
:
(
n
:
Int
)
->
Unit
)
parallel
Map
Link copied to clipboard
inline
fun
<
T
,
R
>
List
<
T
>
.
parallelMap
(
crossinline
transform
:
(
T
)
->
R
)
:
List
<
R
>
parallel
Map
Int
Link copied to clipboard
inline
fun
IntArrayList
.
parallelMapInt
(
crossinline
transform
:
(
Int
)
->
Int
)
:
IntArray
inline
fun
IntArray
.
parallelMapInt
(
crossinline
transform
:
(
Int
)
->
Int
)
:
IntArray
inline
fun
<
T
>
List
<
T
>
.
parallelMapInt
(
crossinline
transform
:
(
T
)
->
Int
)
:
IntArray
inline
fun
IntRange
.
parallelMapInt
(
crossinline
transform
:
(
Int
)
->
Int
)
:
IntArray