Pinq\Iterators\Common\OrderedMap::get PHP Method

get() public method

{@inheritDoc}
public get ( $key )
    public function &get($key)
    {
        $identityHash = Identity::hash($key);
        if (isset($this->keyIdentityPositionMap[$identityHash])) {
            return $this->values[$this->keyIdentityPositionMap[$identityHash]];
        } else {
            $null = null;
            return $null;
        }
    }