public function current()
    {
        $current = current($this->storage);
        if ($this->useMapEntries) {
            return new MapEntry($current[0], $current[1]);
        }
        return $current[1];
    }