Amelioration de la methode equals