Class dnx.lr.LRAllocationManager
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.lr.LRAllocationManager
java.lang.Object
|
+----dnx.lr.LRAllocationManager
- public class LRAllocationManager
- extends Object
This class is a simple way to avoid allocating excessive numbers
of objects. You create an LRAllocationManager, specifying a Class;
then you call allocate() and free() as necessary to create and
"free" (i.e. make available for reuse) objects of the class.
-
LRAllocationManager(Class)
-
-
LRAllocationManager(String)
-
-
allocate()
-
-
free(Object)
-
LRAllocationManager
public LRAllocationManager(Class cl)
LRAllocationManager
public LRAllocationManager(String classname)
allocate
public synchronized Object allocate()
free
public synchronized void free(Object object)
All Packages Class Hierarchy This Package Previous Next Index