public interface Poolable
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
This method is called from the Pool before the object is
returned to the pool.
|
Poolable |
newObject()
This method is called from the Pool if there is no object
available to recycle.
|