Gets the pool mapped to the UID.
Optionaluid: stringDetermines if the object is able to be cloned or not.
Determines if a new object is able to be created.
Determines if the object is able to be instantiated or not.
Attempts to create a new object either by creating a new instance or calling its clone method.
Destroys all pools.
Pushes an object into the pool.
Gets an object either by creating a new one or retrieving it from the pool.
The pooled object is either constructed from obj (when it is a class) or a
clone of obj; either way the result is a T, so callers no longer cast.
Gets a count of all objects in the pool.
An object pool implementation. Used for pooling objects to avoid unnecessary garbage collection.