src/HashMap.php
public function set($key, $value) : HashMap
    {
        $values = $this->_set($key, $value, false);
        $this->setValues($values);
        return $this;
    }
public function set($key, $value) : HashMap
    {
        $values = $this->_set($key, $value, false);
        $this->setValues($values);
        return $this;
    }
public function set ( $ key , $ value ) : HashMap { $ values = $ this -> _set ( $ key , $ value , false ) ; $ this -> setValues ( $ values ) ; return $ this ; }
update an element value

@param mixed $key
@param mixed $value

@return HashMap
update an element value