--- a/Dictionary.st Mon Jun 24 12:49:50 2019 +0200
+++ b/Dictionary.st Mon Jun 24 12:50:09 2019 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
COPYRIGHT (c) 1991 by Claus Gittinger
All Rights Reserved
@@ -314,7 +316,6 @@
"Created: / 04-07-2017 / 16:33:06 / cg"
! !
-
!Dictionary methodsFor:'Compatibility-Dolphin'!
equals:aDictionary
@@ -1217,15 +1218,17 @@
!
removeKey:aKey
- "remove the association under aKey from the collection.
+ "remove the association under aKey from the collection,
+ return the value previously stored there.
If it was not in the collection report an error.
WARNING: do not remove elements while iterating over the receiver.
- See #saveRemoveKey: to do this."
+ See #saveRemoveKey: to do this."
^ self removeKey:aKey ifAbsent:[self errorKeyNotFound:aKey]
- "Modified: 1.3.1996 / 21:21:52 / cg"
+ "Modified: / 01-03-1996 / 21:21:52 / cg"
+ "Modified (comment): / 24-06-2019 / 12:44:22 / Claus Gittinger"
!
removeKey:aKey ifAbsent:aBlock