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

1.95 LargeByteArray

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

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

1.95.1 LargeByteArray: overridden  (instance)


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



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


This document was generated on August, 19 2010 using texi2html