Class dnx.util.AllocationManager
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.util.AllocationManager
java.lang.Object
|
+----dnx.util.AllocationManager
- public class AllocationManager
- extends Object
This class is a simple way to avoid allocating excessive numbers
of objects. You create an AllocationManager, 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.
-
AllocationManager(Class)
-
-
AllocationManager(String)
-
-
allocate()
-
-
free(Object)
-
AllocationManager
public AllocationManager(Class cl)
AllocationManager
public AllocationManager(String classname)
allocate
public synchronized Object allocate()
free
public synchronized void free(Object object)
All Packages Class Hierarchy This Package Previous Next Index