protected function fetch() { while ($this->it0->valid()) { $this->v = $this->it0->current(); $this->k = $this->it0->key(); if ($this->potentials->remove($this->v)) { return; } else { $this->it0->next(); } } }
protected function fetch() { while ($this->it0->valid()) { $this->v = $this->it0->current(); $this->k = $this->it0->key(); if ($this->masked->add($this->v)) { return; } else { $this->it0->next(); } } }
private function fetch() { $this->k = $this->it->key(); $this->v = $this->it->current(); return $this->seen->add($this->v); }