Skip to content

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

src/core/pool/ObjectPool.ts:6

Methods

pushBack

pushBack(node): void

Parameters

NameType
nodeT

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

NameType
instance(arg?: any) => T
param?any

Returns

T

Defined in

src/core/pool/ObjectPool.ts:23


hasFree

hasFree(): boolean

Returns

boolean

Defined in

src/core/pool/ObjectPool.ts:38

Released under the MIT License