code: def next(self):
          
          if self._current_index < len(self._collection):
              value = self._collection[self._current_index]
              self._current_index += 1
              return value
          elif self._next_cursor:
              self.__fetch_next()
              return self.next()
          else:
              self._current_index = 0
              raise StopIteration
docs: Returns the next item in the cursor.