move #changeCapacityTo: from Set to Collection
authorStefan Vogel <sv@exept.de>
Thu, 06 Apr 2006 12:14:34 +0200
changeset 9310 67c88085c9bc
parent 9309 d1fe8655bb97
child 9311 5682c109e49f
move #changeCapacityTo: from Set to Collection
Set.st
--- a/Set.st	Thu Apr 06 12:14:12 2006 +0200
+++ b/Set.st	Thu Apr 06 12:14:34 2006 +0200
@@ -896,14 +896,6 @@
 
 !Set methodsFor:'private-grow & shrink'!
 
-changeCapacityTo:newSize
-    newSize > self capacity ifTrue:[
-	self grow:newSize
-    ].
-
-    "Created: / 30.10.2001 / 17:56:50 / cg"
-!
-
 emptyCheck
     "check if the receiver has become too empty (after a remove)
      and shrink if it makes sense.
@@ -1049,6 +1041,8 @@
     ^ tally
 ! !
 
+
+
 !Set methodsFor:'testing'!
 
 capacity 
@@ -1160,7 +1154,7 @@
 !Set class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Set.st,v 1.93 2006-01-31 22:26:56 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Set.st,v 1.94 2006-04-06 10:14:34 stefan Exp $'
 ! !
 
 Set initialize!