--- a/OrderedDictionary.st Wed Oct 22 08:07:52 2008 +0200
+++ b/OrderedDictionary.st Wed Oct 22 09:18:11 2008 +0200
@@ -601,14 +601,6 @@
"Modified: / 26.6.1999 / 10:55:30 / ps"
!
-reverse
- "Destructively reverse my order.
- WARNING: this is a destructive operation, which modifies the receiver.
- Please use reversed (with a d) for a functional version."
-
- order reverse
-!
-
reverseDo: aBlock
"Evaluate aBlock with each of the dictionary's associations as the argument,
starting with the last element and taking each in sequence up to the first."
@@ -865,6 +857,16 @@
^nil
! !
+!OrderedDictionary methodsFor:'sorting & reordering'!
+
+reverse
+ "Destructively reverse my order.
+ WARNING: this is a destructive operation, which modifies the receiver.
+ Please use reversed (with a d) for a functional version."
+
+ order reverse
+! !
+
!OrderedDictionary methodsFor:'testing'!
occurrencesOfKey: aKey
@@ -899,6 +901,5 @@
!OrderedDictionary class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic2/Attic/OrderedDictionary.st,v 1.26 2008-10-22 06:07:52 cg Exp $'
-
+ ^ '$Header: /cvs/stx/stx/libbasic2/Attic/OrderedDictionary.st,v 1.27 2008-10-22 07:18:11 cg Exp $'
! !