ArrayedCollection.st
changeset 5557 f5f8d236027c
parent 5498 489dc2e6bd4f
child 5626 91a2b608702f
equal deleted inserted replaced
5556:1056cc5d6ce0 5557:f5f8d236027c
   324     "
   324     "
   325 
   325 
   326     "Modified: 28.1.1997 / 00:39:59 / cg"
   326     "Modified: 28.1.1997 / 00:39:59 / cg"
   327 ! !
   327 ! !
   328 
   328 
       
   329 !ArrayedCollection methodsFor:'queries'!
       
   330 
       
   331 size
       
   332     "redefined to re-enable size->basicSize forwarding
       
   333      (it is caught in SequencableCollection)"
       
   334 
       
   335     ^ self basicSize
       
   336 ! !
       
   337 
   329 !ArrayedCollection methodsFor:'resizing'!
   338 !ArrayedCollection methodsFor:'resizing'!
   330 
   339 
   331 grow:newSize
   340 grow:newSize
   332     "grow the receiver i.e. cut off everything after newSize.
   341     "grow the receiver i.e. cut off everything after newSize.
   333      Warning: this may be a slow operation due to the use of become 
   342      Warning: this may be a slow operation due to the use of become 
   404 
   413 
   405     "
   414     "
   406      #(1 2 3) includesKey:4 
   415      #(1 2 3) includesKey:4 
   407      #(1 2 3) includesKey:3  
   416      #(1 2 3) includesKey:3  
   408     "
   417     "
   409 !
       
   410 
       
   411 size
       
   412     "redefined to re-enable size->basicSize forwarding
       
   413      (it is caught in SequencableCollection)"
       
   414 
       
   415     ^ self basicSize
       
   416 ! !
   418 ! !
   417 
   419 
   418 !ArrayedCollection class methodsFor:'documentation'!
   420 !ArrayedCollection class methodsFor:'documentation'!
   419 
   421 
   420 version
   422 version
   421     ^ '$Header: /cvs/stx/stx/libbasic/ArrayedCollection.st,v 1.46 2000-08-04 16:57:09 tm Exp $'
   423     ^ '$Header: /cvs/stx/stx/libbasic/ArrayedCollection.st,v 1.47 2000-08-22 13:55:56 cg Exp $'
   422 ! !
   424 ! !