|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.iids.aos.util.ArrayListPool<E>
public class ArrayListPool<E>
Class ArrayListPool is a thread-safe pool of ArrayLists. There is no maximum for the number of ArrayLists in the pool. New ArrayLists will be created on demand. However, when ArrayLists are not used for a certain period of time, they will be removed, to keep the amount of resources to a minimum.
| Constructor Summary | |
|---|---|
ArrayListPool()
|
|
| Method Summary | |
|---|---|
java.util.ArrayList<E> |
getInstance()
|
void |
releaseInstance(java.util.ArrayList<E> l)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayListPool()
| Method Detail |
|---|
public java.util.ArrayList<E> getInstance()
public void releaseInstance(java.util.ArrayList<E> l)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||