public function Equals(Enum $rhs = null)
    {
        return $rhs != null && 
            get_class($rhs) == get_class($this) &&
            $rhs->Value() === $this->Value();
    }
public function Equals(Enum $rhs = null)
    {
        return $rhs != null && 
            get_class($rhs) == get_class($this) &&
            $rhs->Value() === $this->Value();
    }
public function Equals ( Enum $ rhs = null ) { return $ rhs != null && get_class ( $ rhs ) == get_class ( $ this ) && $ rhs -> Value ( ) === $ this -> Value ( ) ; }
Checks if right hand side has the same class and value as this
@param Enum $rhs
@return bool
Checks if right hand side has the same class and value as this