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
/
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
(
)