danbikel.util
Class ObjectBank
java.lang.Object
danbikel.util.ObjectBank
public class ObjectBank
- extends Object
A generic object bank: the bank monotonically grows until all of its
objects are reclaimed.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectBank
public ObjectBank(Class type)
ObjectBank
public ObjectBank(Class type,
int initialSize)
get
public Object get()
reclaimAll
public void reclaimAll()
size
public int size()
numInUse
public int numInUse()
capacity
public int capacity()
Author: Dan Bikel.