Back: LargeArraySubpart-modifying
Up: Class reference
Forward: LargeByteArray-overridden
 
Top: GNU Smalltalk User's Guide
Contents: Table of Contents
Index: Class index
About: About this document

6.81 LargeByteArray

Defined in namespace Smalltalk
Category: Collections-Sequenceable

I am similar to a plain ByteArray, but I'm specially designed to save memory when lots of items are zero.

6.81.1 LargeByteArray: overridden  (instance)


6.81.1 LargeByteArray: overridden

costOfNewIndex
Answer the maximum number of consecutive items set to the defaultElement that can be present in a compressed array.

defaultElement
Answer the value which is hoped to be the most common in the array

newCollection: size
Create a ByteArray of the given size




This document was generated on May, 12 2002 using texi2html