Smalltalk/X WebserverDocumentation of class 'SignedLongIntegerArray': | |
Class: SignedLongIntegerArrayInheritance:Object | +--Collection | +--SequenceableCollection | +--ArrayedCollection | +--UninterpretedBytes | +--AbstractNumberVector | +--UnboxedIntegerArray | +--SignedLongIntegerArray
Description:SignedLongIntegerArrays store 64bit signed integers in the range 16r-8000000000000000..16r7FFFFFFFFFFFFFFF. In contrast to normal arrays (which store pointers to their elements), signedLongIntegerArrays store the values in a dense & compact way. Since the representation fits the underlying C-language systems representation of signed longlong's, this is also useful to pass bulk data to c primitive code. (the system makes certain, that the first longlong is aligned as required) LongIntegerArrays can be used as literals i.e. you can enter LongIntegerArray-constants as: #u64( element1 element2 .... elementN ) #s64( element1 element2 .... elementN ) for example: #u64(1 2 3 4 5 6 7 8) #s64(1 2 3 4 -1 -2 -3 -4) Aliased as Int64Array. [memory requirements:] OBJ-HEADER + (size * 8) [caveat:] should probably be renamed to Int64Array (there is an alias named 'Int64Array', but when inspected, it presents itself as SignedLongIntegerArray) Class protocol:queries
|
|
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 30 Dec 2024 16:49:04 GMT |