[squeak-dev] OrderedCollection grow behaviour

Chiricozzi Walter walter.chiricozzi at enav.it
Mon Aug 3 06:13:44 UTC 2009


Hi all, 
Is it  safe to modify the OrderedCollection behaviour this way?


OrderedCollection >> grow 

| t1 |
	t1 := Array new: self growSize.
	t1
		replaceFrom: 1
		to: array size
		with: array
		startingAt: 1.
	array := t1

OrderedCollection >> growsize
growSize
	^ array size * 2

TIA



-------------------------------
Message for the recipient only, if received in error, please notify the sender and read www.enav.it/disclaimer



More information about the Squeak-dev mailing list