OSArray


Abstract: A collection class whose instances maintain a list of object references.

An instance of an OSArray is a mutable collection which maintains a list of references to OSObject derived objects. Objects are referenced by index, where the index is an integer with a value of 0 to N-1 where N is the number of objects contained within the array.

Objects placed into a array are automatically retained and objects removed or replaced are automatically released. All objects are released when the array is freed.

© 2000 Apple Computer, Inc. — (Last Updated 2/23/2000)