toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
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
(
)