Get the item at the given index (numerically).

@return mixed|null
198471
public function atIndex(int $index)
    {
        $i = 0;
        foreach ($this->items as $key => $value) {
            if ($i++ == $index) {
                return $value;
            }
        }

        return null;
    }
239897
public function get($index)
    {
        $result = \array_slice($this->nodes, $index, 1); // note: index can be negative
        if (\count($result) > 0) {
            return $result[0];
        }

        return null; // return null if no result for key
    }
720301
public function getParam($index){
        if(isset($this->params[$index])){
            return $this->params[$index];
        }else{
            return NULL;
        }
    }
361633
function (index) {
                    index = asNumber(index);
                    var item = this.getItem(index);
                    return item && item.key;
                }
519117
public function get($index)
    {
        $index = intval($index);
        $i = 0;
        foreach ($this->getInnerIterator() as $v) {
            if ($i == $index) {
                return $v;
            }
            $i++;
        }

        return null;
    }
470493
public function offsetGet($index) {
		if( $this->results === null ){
			$this->results = ($this->query)();
		}
		if( isset($this->results[$index]) ){
			return $this->results[$index];
		}
		return null;
	}
441968
public function getOperand($index)
    {
        if (is_string($index)) {
            $name = $index;
            foreach ($this->operands as $operand) {
                if ($operand->getName() === $name) {
                    return $operand;
                }
            }
            return null;
        }

        return isset($this->operands[$index]) ? $this->operands[$index] : null;
    }
1008047
public function getByIndex($index)
    {
        if (isset($this->elements[$index])) {
            return $this->elements[$index];
        }

        return null;
    }
176897
protected function getValue($index)
    {
        if ($this->values[$index] === null) {
            return null;
        }
        return $this->values[$index]->value;
    }
225331
public function getVar(int $index = 0)
    {
        return isset($this->vars[$index]) ? $this->vars[$index] : null;
    }
687040
public function loadResult($index = 0)
    {
        if ($this->stmt === null) {
            return null;
        }

        $singleResult = $this->stmt->fetch(\PDO::FETCH_NUM);
        return $singleResult[$index];
    }
806941
public function get($index)
    {
        if($index > $this->count() || $index <= 0) {
            return null;
        }
        
        $this->rewind();
        while(($index - 1) > 0) {
            $this->next();
            $index = $index - 1;
        }
        
        return $this->current();
        
    }
738303
public function getIndex() : ?int 
    {
        if ( ! $this->hasIndex()) {
            $this->setIndex($this->getDefaultIndex());
        }
        return $this->index;
    }
391095
public function getChartByIndex($index = null)
    {
        $chartCount = count($this->chartCollection);
        if ($chartCount == 0) {
            return false;
        }
        if (is_null($index)) {
            $index = --$chartCount;
        }
        if (!isset($this->chartCollection[$index])) {
            return false;
        }

        return $this->chartCollection[$index];
    }
435078
@SuppressWarnings("unchecked")
    public V get(int index) {
	int pos = Arrays.binarySearch(keyIndices, index);
	return (pos >= 0) ? (V)(values[pos]) : null;	
    }
1134056
public function get($index)
    {
        if (!isset($this->config[$index])) {
            return null;
        }

        return $this->config[$index];
    }
464530
protected function getMethodParam($index)
    {
        if (isset($this->methodParams[$index]) && ($value = intval($this->methodParams[$index])) > 0) {
            return $value;
        }

        return null;
    }