public function get($key)
    {
        $key = $this->getScalarKey($key);
        if (isset($this->list[$key])) {
            return $this->list[$key]->value;
        }

        throw new \OutOfBoundsException('The key ' . $key . ' is not existed.');
    }