Back: LargeArray-overridden Up: Base classes Forward: LargeArrayedCollection class-instance creation   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.94 LargeArrayedCollection

Defined in namespace Smalltalk
Superclass: ArrayedCollection
Category: Collections-Sequenceable

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

1.94.1 LargeArrayedCollection class: instance creation  (class)
1.94.2 LargeArrayedCollection: accessing  (instance)
1.94.3 LargeArrayedCollection: basic  (instance)


1.94.1 LargeArrayedCollection class: instance creation

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


1.94.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.


1.94.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



Back: LargeArrayedCollection-accessing Up: LargeArrayedCollection Forward: LargeByteArray   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on April, 16 2013 using texi2html