Class: PoolNode<T>
Type parameters
Name |
---|
T |
Constructors
Methods
Constructors
constructor
• new PoolNode<T
>(): PoolNode
<T
>
Type parameters
Name |
---|
T |
Returns
PoolNode
<T
>
Defined in
Methods
pushBack
▸ pushBack(node
): void
Parameters
Name | Type |
---|---|
node | T |
Returns
void
Defined in
src/core/pool/ObjectPool.ts:11
getUseList
▸ getUseList(): T
[]
Returns
T
[]
Defined in
src/core/pool/ObjectPool.ts:19
getOne
▸ getOne(instance
, param?
): T
Parameters
Name | Type |
---|---|
instance | (arg? : any ) => T |
param? | any |
Returns
T
Defined in
src/core/pool/ObjectPool.ts:23
hasFree
▸ hasFree(): boolean
Returns
boolean