new PoolOfObjects(TypeOfObject)
Pool of Object. For recycling of ListNode instances
Parameters:
Name | Type | Description |
---|---|---|
TypeOfObject |
- Source:
- core/list.js, line 218
Methods
-
dispose(instance)
-
Dispose of instance
Parameters:
Name Type Description instance
- Source:
- core/list.js, line 250
-
get() → {*}
-
Request new instance
- Source:
- core/list.js, line 234
Returns:
- Type
- *
-
warmup(count) → {PoolOfObjects}
-
Put some instances to pool
Parameters:
Name Type Description count
number - Source:
- core/list.js, line 260
Returns:
- Type
- PoolOfObjects