A generic container that facilitates pooling and recycling of objects. WARNING: Pooled objects must have parameter-less constructors: function new()

Constructor

new(classObj:Class<T>)

Variables

read onlylength:Int

Methods

get():T

preAllocate(numObjects:Int):Void

put(obj:T):Void