public final class IteratorPool extends Object implements Serializable
| Constructor and Description |
|---|
IteratorPool(DTMIterator original)
Constructor IteratorPool
|
| Modifier and Type | Method and Description |
|---|---|
void |
freeInstance(DTMIterator obj)
Add an instance of the given object to the pool
|
DTMIterator |
getInstance()
Get an instance of the given object in this pool
|
DTMIterator |
getInstanceOrThrow()
Get an instance of the given object in this pool
|
public IteratorPool(DTMIterator original)
original - The original iterator from which all others will be cloned.public DTMIterator getInstanceOrThrow() throws CloneNotSupportedException
CloneNotSupportedExceptionpublic DTMIterator getInstance()
public void freeInstance(DTMIterator obj)
obj - Object to add.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.