SwatDB/SwatDBReadaheadIterator.php
public function iterate()
    {
        $this->current = $this->getNext();
        $this->key = $this->getNextKey();

        $valid = $this->current !== null;

        if ($valid) {
            $this->iterator->next();
        }

        return $valid;
    }
public function iterate()
    {
        $this->current = $this->getNext();
        $this->key = $this->getNextKey();

        $valid = $this->current !== null;

        if ($valid) {
            $this->iterator->next();
        }

        return $valid;
    }
public function iterate ( ) { $ this -> current = $ this -> getNext ( ) ; $ this -> key = $ this -> getNextKey ( ) ; $ valid = $ this -> current !== null ; if ( $ valid ) { $ this -> iterator -> next ( ) ; } return $ valid ; }
Iterates over this readahead iterator

@return boolean true if there is a next item.
Iterates over this readahead iterator