Lines Matching refs:iterators
13 * @brief Iterator that iterates over several iterators one after the other
20 /** @internal array of inner iterators */
21 private $iterators;
27 $this->iterators = new ArrayIterator();
40 $this->iterators->append($it);
47 return $this->iterators->current();
55 $this->iterators->rewind();
56 if ($this->iterators->valid())
66 return $this->iterators->valid() && $this->getInnerIterator()->valid();
77 return $this->iterators->valid() ? $this->getInnerIterator()->current() : NULL;
84 return $this->iterators->valid() ? $this->getInnerIterator()->key() : NULL;
93 if (!$this->iterators->valid())
102 $this->iterators->next();
103 while ($this->iterators->valid())
110 $this->iterators->next();