--- 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'!