Constructor
new (capacity:Int, ?factory:Void ‑> T)
Parameters:
`capacity` | the maximum capacity. |
---|---|
`factory` | if passed, preallocates the list by calling the |
Variables
Methods
free ():Void
Destroys this object by explicitly nullifying all elements for GC'ing used resources.
Improves GC efficiency/performance (optional).