[FIX] Associations equality
Leandro Caniglia
caniglia at dm.uba.ar
Wed Nov 21 10:45:09 UTC 2001
from preable:
"Change Set: Associations-equal
Date: 20 November 2001
Author: Leandro Caniglia
Defines the method Association >> #= in such a way that the
values, other than the keys, get compared too. Previously
this was inherited from LookupKey which only ompares
the keys."
-------------- next part --------------
'From Squeak3.2alpha of 7 October 2001 [latest update: #4518] on 20 November 2001 at 2:20:03 pm'!
"Change Set: Associations-equal
Date: 20 November 2001
Author: Leandro Caniglia
Defines the method Association >> #= in such a way that the values, other than the keys, get compared too. Previously this was inherited from LookupKey which only compares the keys."!
!Association methodsFor: 'comparing' stamp: 'LC 11/18/2001 20:25'!
= anAssociation
^ super = anAssociation and: [value = anAssociation value]! !
More information about the Squeak-dev
mailing list
|