Hi,
When I redefine the = operation for a class I should redefine its hash method.
My question is about the definition of the hash method. I read that the method must return a SmallInteger whose value is related to the receiver. I would like to know if there is a general pattern adopted in Squeak for that. I get a look in the Squeak classes but it doesn’t help.
Thanks,
Houssam
____
"Le paradis touche les pieds des mères..."
>>> http://csl.ensm-douai.fr/fakih