next in class de.innovationgate.utils.PrefetchingIterator<WGContent>
public int skip(int nrOfElements)
Description copied from interface: de.innovationgate.utils.SkippingIterator
Will skip the given number of elements in the queue. The next call of the 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 skip
The number of skipping iterations that could not be performed because the iterator reached the end. Should be 0 when the iterator was able to complete all operations without reaching the end.