Category: Collections-Sequenceable
Superclass: ArrayedCollection
I am an abstract class specially designed to save memory when lots of items have the same value.

Method category index

instance creation (class)
accessing (instance)
basic (instance)

instance creation (class)

new: anInteger
Answer a new instance of the receiver, with room for anInteger elements.

top


accessing (instance)

at: anIndex
Answer the anIndex-th item of the receiver.

at: anIndex put: anObject

Replace the anIndex-th item of the receiver with anObject.

compress

Arrange the representation of the array for maximum memory saving.

top


basic (instance)

= aLargeArray
Answer whether the receiver and aLargeArray have the same contents

hash

Answer an hash value for the receiver

size

Answer the maximum valid index for the receiver

top