public class WGStructEntryRetrievalIterator extends de.innovationgate.utils.PrefetchingIterator<WGStructEntry> implements de.innovationgate.utils.SkippingIterator<WGStructEntry>
close()
should be called on this iterator after using it so it can release backend resources.Constructor and Description |
---|
WGStructEntryRetrievalIterator(WGDatabase db,
WGDocument parent,
java.util.Iterator<WGDocumentCore> structCores) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static WGStructEntryRetrievalIterator |
emptyIterator()
Returns an empty version of this iterator type
|
WGDatabase |
getDatabase()
Returns the database of the struct entries returned
|
int |
skip(int nrOfElements) |
hasNext, next, previewNextValue, remove
public WGStructEntryRetrievalIterator(WGDatabase db, WGDocument parent, java.util.Iterator<WGDocumentCore> structCores)
public static WGStructEntryRetrievalIterator emptyIterator()
public int skip(int nrOfElements)
skip
in interface de.innovationgate.utils.SkippingIterator<WGStructEntry>
public WGDatabase getDatabase()
public void close()