Hi List,

I have a Class PoolQueue which has instvars 'member' and 'processor'. I find
that an instance of PoolQueue when placed in an OrderedCollection can no
longer be considered equal. I suppose I have to reimplement #= and #hash to
allow PoolQueue instances to be compared.

My problem: how do I implement #hash? Or stated another way, what does #hash
accomplish?

Thanks in advance.

Ching.
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to