Object compare by override hash method