| Modifier and Type | Field and Description |
|---|---|
| private final List | m_freeStack
Stack of given objects this points to. |
| private final DTMIterator | m_orig
Type of objects in this pool. |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | IteratorPool(DTMIterator
The original iterator from which all others will be cloned. original)Constructor IteratorPool |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public synchronized DTMIterator | Returns: An instance of the given objectGet an instance of the given object in this pool |
| public synchronized DTMIterator | Returns: An instance of the given objectGet an instance of the given object in this pool |
| m_freeStack | back to summary |
|---|---|
| private final List<DTMIterator> m_freeStack Stack of given objects this points to.
| |
| m_orig | back to summary |
|---|---|
| private final DTMIterator m_orig Type of objects in this pool.
| |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| IteratorPool | back to summary |
|---|---|
| public IteratorPool(DTMIterator original) Constructor IteratorPool
| |
| freeInstance | back to summary |
|---|---|
| public synchronized void freeInstance(DTMIterator obj) Add an instance of the given object to the pool
| |
| getInstance | back to summary |
|---|---|
| public synchronized DTMIterator getInstance() Get an instance of the given object in this pool
| |
| getInstanceOrThrow | back to summary |
|---|---|
| public synchronized DTMIterator getInstanceOrThrow() throws CloneNotSupportedException Get an instance of the given object in this pool
| |