hi,
�� i'm using a multi-valued dictionary��
in the following way
itemsByKey := MultiValuedDictionary dictionary: IdentityDictionary collection: IdentityDictionary
so i can check the existence of an item by its key (an ordered pair)
(itemsByKey at: anItem key first ifAbsent: nil)
ifNotNil:��
[ :dict |��
(dict at: anItem key second ifAbsent: nil)��
ifNotNil: [ :found | ^ found ] ].
and i add an item like this
itemsByKey��
at: anItem key first��
add: (Association basicNew key: anItem key second value: anItem).
hth