SequenceableCollection.st
changeset 21039 49823ec25298
parent 20995 349208d3c913
child 21042 edb2e7f82c62
child 21275 73cdb6512e55
--- a/SequenceableCollection.st	Thu Nov 24 17:55:31 2016 +0100
+++ b/SequenceableCollection.st	Thu Nov 24 17:56:01 2016 +0100
@@ -203,22 +203,6 @@
      (Array new:10) inspect.
      (Array withSize:10) inspect.
     "
-!
-
-withSize:size
-    "return a new collection of size.
-     For variable size collections, this is different from #new:,
-     in that #new: creates an empty collection with preallocated size,
-     while #withSize: creates a non empty one."
-
-    ^ (self new:size) grow:size.
-
-    "
-     (OrderedCollection new:10) inspect.
-     (OrderedCollection withSize:10) inspect.
-     (Array new:10) inspect.
-     (Array withSize:10) inspect.
-    "
 ! !
 
 !SequenceableCollection class methodsFor:'Signal constants'!