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
/
TemporalPool
Temporal
Pool
class
TemporalPool
<
T
:
Any
>
(
reset
:
(
T
)
->
Unit
=
{}
,
preallocate
:
Int
=
0
,
gen
:
(
Int
)
->
T
)
Members
Constructors
Temporal
Pool
Link copied to clipboard
constructor
(
reset
:
(
T
)
->
Unit
=
{}
,
preallocate
:
Int
=
0
,
gen
:
(
Int
)
->
T
)
Functions
alloc
Link copied to clipboard
fun
alloc
(
)
:
T
free
All
Link copied to clipboard
fun
freeAll
(
)