org.apache.xpath.axes
Class IteratorPool
- Serializable
public class IteratorPool
Pool of object of a given type to pick from to help memory usage
IteratorPool
public IteratorPool(DTMIterator original)
Constructor IteratorPool
original
- The original iterator from which all others will be cloned.
freeInstance
public void freeInstance(DTMIterator obj)
Add an instance of the given object to the pool
getInstance
public DTMIterator getInstance()
Get an instance of the given object in this pool
- An instance of the given object
getInstanceOrThrow
public DTMIterator getInstanceOrThrow()
throws CloneNotSupportedException
Get an instance of the given object in this pool
- An instance of the given object
Copyright B) 2004 Apache XML Project. All Rights Reserved.