Smalltalk/X WebserverDocumentation of class 'AutoResizingOrderedCollection': | |
Class: AutoResizingOrderedCollectionInheritance:Object | +--Collection | +--SequenceableCollection | +--OrderedCollection | +--AutoResizingOrderedCollection | +--AutoResizingOrderedCollectionWithDefault
Description:I am an ordered collection which automatically resizes if elements are added beyond the size. I.e. if #at:put: is sent for indexes > the current size, the receiver grows to the required index and missing fields are implicitly filled with nils. Queries for non-existing elements are anwered with nil. Class protocol:instance creationInstance protocol:accessing
Examples:|coll| coll := AutoResizingOrderedCollection new. coll at:4 put:'four'. coll at:8 put:'eight'. coll at:9 |
|
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 02:47:19 GMT |