|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A pool is a stack-like container which you can add and remove objects from. It is useful for recycling objects rather than re-creating them. See ScalablePool and UPool.
Method Summary | |
java.lang.Object |
get()
Get an item from the pool |
void |
put(java.lang.Object o)
Add an item to the pool for later re-use |
Method Detail |
public void put(java.lang.Object o)
public java.lang.Object get()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |