Package | sekati.collections |
Interface | public interface IAllocator |
Implementors | Allocator |
Allocator
object and its descendants.
Method | Defined by | ||
---|---|---|---|
getObject():*
Retrieves an object from the cache.
| IAllocator | ||
release():void
Releases all cached objects from memory.
| IAllocator | ||
reset():void
Resets the cache index.
| IAllocator |
getObject | () | method |
public function getObject():*
Retrieves an object from the cache. If an object does not exist at the current cache index, a new object is created.
Returns* |
release | () | method |
public function release():void
Releases all cached objects from memory.
reset | () | method |
public function reset():void
Resets the cache index.