The LimitIterator class
Введение
...
Class synopsis
LimitIterator
class LimitIterator
extends
IteratorIterator
implements
OuterIterator
,
Traversable
,
Iterator
{
/* Methods */
}Содержание
- LimitIterator::getPosition — Return the current position
- LimitIterator::next — Move the iterator forward
- LimitIterator::rewind — Rewind the iterator to the specified starting offset
- LimitIterator::seek — Seek to the given position
- LimitIterator::valid — Check whether the current element is valid
Коментарии
If the inner iterator implements SeekableIterator, LimitIterator uses seek() after rewind() to move to the offset.