Array
is the superclass of all arrays; it is an Indexed
Collection
public int length;
pointer contents;
void dealloc;
deferred int elementByteSize;
Array
.
id initAsCopyOf id other;
other
, and invoke [self initCopy]
.
id (self) initCopy;
contents
since that is what we own.
id (self) initWith int n at pointer addr;
_builtin_.Any member All object;
Array
, which is equal
to
the object
.
_builtin_.Any memq All object;
member
, but the element is identified on reference equality.
deferred (pointer, int) (address, number) pointerToElements (int, int) (start, len) pre start >= 0 && len >= -1 post number >= 0 && !number == !address;
address
of the first element of the receiving array in
the range (start, len)
, and the number
of elements in that range.
void makeVanishingElementsPerform Invocation inv;
makeElementsPerform
, but allow the element currently messaged
to vanish from this array.