equal
deleted
inserted
replaced
308 self newLikelyToRemainEmpty size |
308 self newLikelyToRemainEmpty size |
309 self newLikelyToRemainEmpty add:1; size |
309 self newLikelyToRemainEmpty add:1; size |
310 self newLikelyToRemainEmpty addAll:#(1 2); size |
310 self newLikelyToRemainEmpty addAll:#(1 2); size |
311 " |
311 " |
312 ! ! |
312 ! ! |
313 |
|
314 |
313 |
315 |
314 |
316 !OrderedCollection methodsFor:'accessing'! |
315 !OrderedCollection methodsFor:'accessing'! |
317 |
316 |
318 at:anInteger |
317 at:anInteger |
2069 ! ! |
2068 ! ! |
2070 |
2069 |
2071 !OrderedCollection methodsFor:'queries'! |
2070 !OrderedCollection methodsFor:'queries'! |
2072 |
2071 |
2073 capacity |
2072 capacity |
2074 "return the number of elements, that the receiver is |
2073 "return the number of elements, that the receiver is prepared to take |
2075 prepared to take. |
2074 without growing. |
|
2075 Notice, that OCs do automatically resize as required, |
|
2076 so knowing the capacity is of no real use. |
2076 Not used by the system; added for ST-80 compatibility." |
2077 Not used by the system; added for ST-80 compatibility." |
2077 |
2078 |
2078 ^ contentsArray size |
2079 ^ contentsArray size |
2079 ! |
2080 ! |
2080 |
2081 |