public function sameValueAs(ValueObjectInterface $keyValuePair)
    {
        if (false === Util::classEquals($this, $keyValuePair)) {
            return false;
        }

        return $this->getKey()->sameValueAs($keyValuePair->getKey()) && $this->getValue()->sameValueAs($keyValuePair->getValue());
    }
public function sameValueAs(ValueObjectInterface $keyValuePair)
    {
        if (false === Util::classEquals($this, $keyValuePair)) {
            return false;
        }

        return $this->getKey()->sameValueAs($keyValuePair->getKey()) && $this->getValue()->sameValueAs($keyValuePair->getValue());
    }
public function sameValueAs ( ValueObjectInterface $ keyValuePair ) { if ( false === Util :: classEquals ( $ this , $ keyValuePair ) ) { return false ; } return $ this -> getKey ( ) -> sameValueAs ( $ keyValuePair -> getKey ( ) ) && $ this -> getValue ( ) -> sameValueAs ( $ keyValuePair -> getValue ( ) ) ; }
Tells whether two KeyValuePair are equal

@param  ValueObjectInterface $keyValuePair
@return bool
Tells whether two KeyValuePair are equal