Pinq\Iterators\IIteratorScheme::reindexerIterator PHP Method

reindexerIterator() public method

Returns an iterator which will return the map the keys to 0-based incrementing integers
public reindexerIterator ( Traversable $iterator ) : Pinq\Iterators\IWrapperIterator
$iterator Traversable
return Pinq\Iterators\IWrapperIterator
    public function reindexerIterator(\Traversable $iterator);

Usage Example

Example #1
0
 public function reindex()
 {
     return $this->constructScopedSelf($this->scheme->reindexerIterator($this->elements));
 }