public class WGContentNavigator.Iterator extends de.innovationgate.utils.PrefetchingIterator<WGContent> implements de.innovationgate.utils.SkippingIterator<WGContent>
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
int |
getResults() |
WGContent |
next() |
int |
skip(int nrOfElements)
Will skip the given number of elements in the queue.
|
hasNext, previewNextValue, remove
public WGContent next()
public int skip(int nrOfElements)
de.innovationgate.utils.SkippingIterator
Iterator.next()
method will return the element immediately after the last skipped one.
Must be called before any iterating methods (Iterator.next()
Iterator.hasNext()
) have been used. Otherwise an IllegalStateException
is thrown.skip
in interface de.innovationgate.utils.SkippingIterator<WGContent>
nrOfElements
- Number of elements to skippublic int getResults() throws WGAPIException
WGAPIException
public int getIndex()