Back: LargeArray-overridden
Up: Class reference
Forward: LargeArrayedCollection class-instance creation
 
Top: GNU Smalltalk User's Guide
Contents: Table of Contents
Index: Class index
About: About this document

6.79 LargeArrayedCollection

Defined in namespace Smalltalk
Category: Collections-Sequenceable

I am an abstract class specially designed to save memory when lots of items have the same value.

6.79.1 LargeArrayedCollection class: instance creation  (class)
6.79.2 LargeArrayedCollection: accessing  (instance)
6.79.3 LargeArrayedCollection: basic  (instance)


6.79.1 LargeArrayedCollection class: instance creation

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


6.79.2 LargeArrayedCollection: accessing

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.


6.79.3 LargeArrayedCollection: basic

= 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




This document was generated on May, 12 2002 using texi2html