Method Summary |
|
public WeakReference | add(Object o) Add o to the bag and return the WeakReference that can be used to
remove it. |
public void | clean() Get rid of objects in the bag that the garbage collector wants to
nuke. |
public void | remove(Reference o) Remove o from the bag. |
public int | size() Get the approximate number of objects in the bag. |
public List | values() Get all the objects still in the bag. |