public class WGHierarchyContentIterator extends de.innovationgate.utils.PrefetchingIterator<WGContent> implements de.innovationgate.utils.SkippingIterator<WGContent>, de.innovationgate.utils.CountReportingIterator<WGContent>
| Constructor and Description |
|---|
WGHierarchyContentIterator(WGStructEntryIterator structs,
java.lang.String language) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Returns the count of pages over which this iterator iterates and retrieves contents for.
|
int |
getCurrentOffset()
Returns the offset of the last retrieved element inside the iterated collection
This also includes pages that were skipped because they have no released content in the current language
|
int |
skip(int nrOfElements) |
hasNext, next, previewNextValue, removepublic WGHierarchyContentIterator(WGStructEntryIterator structs, java.lang.String language)
public int getCount()
getCount in interface de.innovationgate.utils.CountReportingIterator<WGContent>public int skip(int nrOfElements)
skip in interface de.innovationgate.utils.SkippingIterator<WGContent>public int getCurrentOffset()
getCurrentOffset in interface de.innovationgate.utils.CountReportingIterator<WGContent>