added add: to AssociativeDictionary, hence effectively to Dictionary
This commit is contained in:
@ -1155,6 +1155,11 @@ class AssociativeCollection(Collection)
|
||||
}
|
||||
|
||||
|
||||
method add: anAssociation
|
||||
{
|
||||
^self __find: (anAssociation key) or_upsert: true with: (anAssociation value)
|
||||
}
|
||||
|
||||
## ===================================================================
|
||||
## ENUMERATING
|
||||
## ===================================================================
|
||||
|
Reference in New Issue
Block a user