public function shift()
    {
        $this->internalDataListUpdate();
        if (isset($this->internalDataListData[0])) {
            $this->internalDataListUpdateValueIfNeeded($this->internalDataListData, 0);
            return array_shift($this->internalDataListData);
        }
        return null;
    }