diff options
author | SVN Migration <svn@php.net> | 2004-01-26 01:59:15 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2004-01-26 01:59:15 +0000 |
commit | c99a4f4747eac00e5e7fb44eb9e6467e258b30c6 (patch) | |
tree | 99ab150cf56eb6b75e0c0327d0b608e74445df58 /ext/spl/examples/seekableiterator.inc | |
parent | 3507f040622d2267950f26c69b6ac30c1beb94f4 (diff) | |
download | php-git-RELEASE_1_3b6.tar.gz |
This commit was manufactured by cvs2svn to create tag 'RELEASE_1_3b6'.RELEASE_1_3b6
Diffstat (limited to 'ext/spl/examples/seekableiterator.inc')
-rwxr-xr-x | ext/spl/examples/seekableiterator.inc | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/ext/spl/examples/seekableiterator.inc b/ext/spl/examples/seekableiterator.inc deleted file mode 100755 index 7e47009260..0000000000 --- a/ext/spl/examples/seekableiterator.inc +++ /dev/null @@ -1,29 +0,0 @@ -<?php - -/** \brief seekable iterator - * - * Turns a normal iterator ino a seekable iterator. When there is a way - * to seek on an iterator LimitIterator can use this to efficiently rewind - * to offset. - */ -interface SeekableIterator implements Iterator -{ - /** Seek to an absolute position - * - * \param $index position to seek to - * \return void - * - * \note The method should throw an exception if it is not possible to - * seek to the given position. - */ - function seek($index); -/* $this->rewind(); - $position = 0; - while($position < $index && $this->hasMore()) { - $this->next(); - $position++; - } - }*/ -} - -?>
\ No newline at end of file |