Beispiel #1
0
 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();
         }
     }
 }
Beispiel #2
0
 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();
         }
     }
 }
Beispiel #3
0
 private function fetch()
 {
     $this->k = $this->it->key();
     $this->v = $this->it->current();
     return $this->seen->add($this->v);
 }