public class WGStructEntryIterator extends de.innovationgate.utils.PrefetchingIterator<WGStructEntry> implements de.innovationgate.utils.SkippingIterator<WGStructEntry>, de.innovationgate.utils.CountReportingIterator<WGStructEntry>
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Returns the count of all entries in this iterator, only if the database supports effective count retrieval without loading all resources.
|
int |
getCurrentOffset()
Returns the offset of the last retrieved element inside the iterated collection
|
WGDocument |
getParent()
Returns the parent document of the iterated struct entries, either a
WGArea or a WGStructEntry |
int |
skip(int nrOfElements) |
hasNext, next, previewNextValue, removepublic int skip(int nrOfElements)
skip in interface de.innovationgate.utils.SkippingIterator<WGStructEntry>public WGDocument getParent()
WGArea or a WGStructEntrypublic int getCount()
getCount in interface de.innovationgate.utils.CountReportingIterator<WGStructEntry>WGAPIExceptionpublic int getCurrentOffset()
getCurrentOffset in interface de.innovationgate.utils.CountReportingIterator<WGStructEntry>