toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.datastructure
/
ReturnablePool
Returnable
Pool
class
ReturnablePool
<
T
:
Any
>
(
_reset
:
(
T
)
->
Unit
=
{ }
,
gen
:
(
index
:
Int
)
->
T
)
Members
Constructors
Returnable
Pool
Link copied to clipboard
constructor
(
_reset
:
(
T
)
->
Unit
=
{ }
,
gen
:
(
index
:
Int
)
->
T
)
Properties
current
Link copied to clipboard
var
current
:
T
Functions
next
Link copied to clipboard
fun
next
(
)
:
T
reset
Link copied to clipboard
fun
reset
(
)